Migrating userId to "int32" to save some space and adding userMoves message in protobuf
This commit is contained in:
@@ -6,10 +6,10 @@ import {Character} from "../Entity/Character";
|
||||
* Class representing the sprite of a remote player (a player that plays on another computer)
|
||||
*/
|
||||
export class RemotePlayer extends Character {
|
||||
userId: string;
|
||||
userId: number;
|
||||
|
||||
constructor(
|
||||
userId: string,
|
||||
userId: number,
|
||||
Scene: GameScene,
|
||||
x: number,
|
||||
y: number,
|
||||
|
||||
Reference in New Issue
Block a user