updating listmap

This commit is contained in:
rolux 2011-06-01 10:39:33 +02:00
commit 60d6c2a166
3 changed files with 28 additions and 6 deletions

View file

@ -14,7 +14,7 @@ Ox.MapPlace <f> MapPlace Object
north <n|0>
selected <b|false>
south <n|0>
type <a|[]>
type <s|''>
visible <b|false>
west <n|0>
@*/
@ -32,7 +32,7 @@ Ox.MapPlace = function(options) {
north: 0,
selected: false,
south: 0,
type: [],
type: '',
visible: false,
west: 0
}, options);
@ -145,7 +145,15 @@ Ox.MapPlace = function(options) {
that.rectangle.select();
}
return that;
}
};
// fixme: make this an Ox.Element to get options handling for free?
that.options = function(options) {
Ox.forEach(function(value, key) {
that.key = value;
});
update();
};
/*@
remove <f> remove