player pos is checked
This commit is contained in:
@ -8,6 +8,11 @@ class Player
|
||||
this.nb_goal = nb_goal;
|
||||
this.game = game;
|
||||
}
|
||||
|
||||
update_pos(new_position, time)
|
||||
{
|
||||
this.pos = new_position;
|
||||
}
|
||||
}
|
||||
|
||||
export { Player }
|
Reference in New Issue
Block a user