22 lines
343 B
JavaScript
22 lines
343 B
JavaScript
|
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;
|