FeatureButton = ig.Entity.extend({ init: function(settings) { this.parent(settings); console.log('button init'); }, update: function() { this.parent(); console.log('button update'); }, draw: function() { this.parent(); console.log('button draw'); } });