ackvonhuelioLvl 41
ASmartCoder
a sprite is just a constructor, so you can(actually I did once) add a bunch of properties and then define your own usages for those properties
for example,:
// made a new sprite function cuz i don't wanna go through CDO code and find what the actual sprite constructor is called in order to make a prototype function thingy
function makeySprite(x,y){
this.sprite = createSprite(x,y);
this.sprite.dog = 0;
}
makeySprite.prototype.dehumanize = function(){
this.sprite.dog += 1;
};
var sprite = new makeySprite(200,200);
sprite.dehumanize();