/** * Part of a creature! */ var cell = { start: function() { }, setType: function(typeID) { this.renderer.subImage = typeID; } }