Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 371 Bytes
Player {
if(isHit) {
for(var i=0; i<100; i++) {
Explosion [3, 5, 6]
}
}
else {
Cube * 100 [3, 3, 3]{1, 3, 4}(3, 4, 4)
}
Torch [100, 100, 100] {
if(contact(Player)) {
isHit=true;
}
}
Node {
var x = getNode("Explosion");
this.pos = [200, 300, 400];
}
}