Class GameStateUpdate
java.lang.Object
tech.underoaks.coldcase.state.updates.GameStateUpdate
- Direct Known Subclasses:
AddTileContentUpdate,ChangeTextureUpdate,EndLevelUpdate,MoveUpdate,PlayerPassebilityUpdate,RemoveTileContentUpdate,TestUpdate
Abstract class representing an atomic change to the game state.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGameStateUpdate(UpdateTypes updateType) Default-Constructor -
Method Summary
-
Field Details
-
UPDATE_TYPE
The type of update to be performed.
-
-
Constructor Details
-
GameStateUpdate
Default-Constructor- Parameters:
updateType-UpdateTypes
-
-
Method Details
-
apply
Applies the GameStateUpdate to the game state.- Parameters:
map- the map that will receive changes.
-