1 decade ago by Getimoliver
I have a chest entity. I would like to set the item in the chest with Weltmeister entity properties, like so:
EntityLoot = ig.Entity.extend({
animSheet:new ig.AnimationSheet('media/loot.png', 16, 16),
init:function (x, y, settings) {
console.log("Item: " + settings.item);
switch (settings.item) { ... }}
});
Is there a trick to accessing entity properties defined in Weltmeister?

Is there a trick to accessing entity properties defined in Weltmeister?