mirror of
https://github.com/rileyjshaw/terra.git
synced 2024-11-21 04:54:23 +00:00
Update 2015-03-14T03:53:33.266Z
This commit is contained in:
parent
0a53f1c137
commit
0c12031d81
@ -76,7 +76,7 @@ factory.registerCreature({
|
|||||||
move: false
|
move: false
|
||||||
});
|
});
|
||||||
|
|
||||||
// initialize our environment with a 10% of our lonely creature
|
// initialize our environment
|
||||||
var ex1 = new terra.Terrarium(25, 25, {id: 'ex1'});
|
var ex1 = new terra.Terrarium(25, 25, {id: 'ex1'});
|
||||||
ex1.grid = ex1.makeGridWithDistribution([['secondCreature', 10], ['simplePlant', 90]]);</code></pre>
|
ex1.grid = ex1.makeGridWithDistribution([['secondCreature', 10], ['simplePlant', 90]]);</code></pre>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user