Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 324 Bytes
// TODO fix the positioning logic
An.object().named('Daimond').plural('Daimonds').from(Rectangle,{
init: function() { return this.clone().by(100,100).instance().here() },
draw: function() { if(this.visible) Screen.save().color(this.r,this.g,this.b).as(this).rotate(45).fill().white().restore() },
bar: function() {},
});