game: online: recoded but collision not work
This commit is contained in:
@ -2,6 +2,7 @@ import { AExchangeable } from "../AExchangable.js";
|
||||
import { APlayer } from "./APlayer.js";
|
||||
import { Client } from "../Client.js"
|
||||
import { sleep } from "../../utils/sleep.js";
|
||||
import { Profile } from "../Profile.js";
|
||||
|
||||
export class AGame extends AExchangeable
|
||||
{
|
||||
@ -44,9 +45,9 @@ export class AGame extends AExchangeable
|
||||
this._disconntectHandler = disconntectHandler;
|
||||
|
||||
/**
|
||||
* @type {Number}
|
||||
* @type {Profile}
|
||||
*/
|
||||
this.winnerId;
|
||||
this.winner;
|
||||
|
||||
/**
|
||||
* @type {Number}
|
||||
|
Reference in New Issue
Block a user