KO and HP above user
This commit is contained in:
parent
506e6be65d
commit
873102a927
5 changed files with 95 additions and 47 deletions
22
game.js
Normal file
22
game.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
import GameBasic from "./common/game_basic.js";
|
||||
|
||||
class Game extends GameBasic {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
createPlayer(user) {
|
||||
|
||||
}
|
||||
sync() {
|
||||
|
||||
}
|
||||
init() {
|
||||
super.init();
|
||||
|
||||
let that = this;
|
||||
|
||||
setInterval(function () { that.sync() }, 1000 / 10);
|
||||
}
|
||||
}
|
||||
|
||||
export default Game;
|
Loading…
Add table
Add a link
Reference in a new issue