Server heavy refactoring 1 (not functionnal)

This commit is contained in:
Sebastien Riviere
2026-02-28 00:54:26 +01:00
parent d0e237245e
commit 24bce7896c
27 changed files with 980 additions and 83 deletions

View File

@@ -0,0 +1,19 @@
import { GameState } from "@/states/game_state.js";
import { FinishedTeamMapper } from "@/team/mapper/finished_team_mapper.js";
export class FinishedState extends GameState {
constructor(manager) {
super(manager, new FinishedTeamMapper());
}
static get stateName () {
return "finished";
}
// State functions
updateLocation(team, coords) {
team.updateLocation(coords);
return true;
}
}