Refactor
This commit is contained in:
parent
a3f76f5c77
commit
99e1923066
6 changed files with 49 additions and 35 deletions
|
|
@ -80,6 +80,8 @@ export default class GameLoop {
|
|||
return {
|
||||
position,
|
||||
angle: angle + Math.PI,
|
||||
species: 0,
|
||||
timeToLive: Random.randomBetween(2, 10),
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue