refactor: changed GameStateEvent to GamestateEvent
This commit is contained in:
@ -157,7 +157,7 @@ class GameLogic {
|
||||
}
|
||||
}
|
||||
case Req -> {
|
||||
result.add(new EventBuilder(EventType.GameStateEvent)
|
||||
result.add(new EventBuilder(EventType.GamestateEvent)
|
||||
.withEntities(state.entities.export())
|
||||
.withTurnOrder((EntityID[])state.turnOrder.toArray())
|
||||
.withMapSize(state.mapSize)
|
||||
@ -296,7 +296,7 @@ class GameLogic {
|
||||
}
|
||||
}
|
||||
case TimeStone -> {
|
||||
// "👍 i approve" - the server
|
||||
// "👍 i approve" - the server
|
||||
}
|
||||
case SoulStone -> {
|
||||
Character target = getCharacter(state, data.targetField, data.targetEntity);
|
||||
|
Reference in New Issue
Block a user