This commit is contained in:
2026-05-19 11:48:51 +03:30
parent 78d4bedb08
commit fa56a58cea
51 changed files with 1735 additions and 170 deletions
@@ -0,0 +1,25 @@
package org.project;
import org.project.entity.players.Player;
import org.project.location.Location;
import java.io.Serializable;
public class GameState implements Serializable {
private static final long serialVersionUID = 1L;
private Player player;
private Location currentLocation;
public GameState(Player player, Location currentLocation) {
this.player = player;
this.currentLocation = currentLocation;
}
public Player getPlayer() {
return player;
}
public Location getCurrentLocation() {
return currentLocation;
}
}