KO and HP above user
This commit is contained in:
parent
506e6be65d
commit
873102a927
5 changed files with 95 additions and 47 deletions
|
@ -1,10 +1,10 @@
|
|||
class GameBasic {
|
||||
constructor() {
|
||||
let player = new Player(true);
|
||||
let player = new Player(false,true);
|
||||
let entities = [player];
|
||||
|
||||
for (let i = 0; i < 50; i++) {
|
||||
entities.push(new Player())
|
||||
entities.push(new Player(false,false))
|
||||
}
|
||||
|
||||
this.player = player;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue