3 ms·
I mean when you register terra.creatureFactory.register({type: 'firstCreature'}); this is stored in the global `terra` variable... Would be better IMO
by ttty 12y ago
I mean when you register
terra.creatureFactory.register({type: 'firstCreature'});
this is stored in the global `terra` variable... Would be better IMO
var terra = new Terra();terra.creatureFactory.register({type: 'firstCreature'});