ChessBuilder/Systems/StateMachine/GameStates/ApplyTileEffects.gd

8 lines
No EOL
255 B
GDScript

extends "res://Systems/StateMachine/ChessGameState.gd"
func enter(_previous: String, _data := {}) -> void:
print("ENTERING STATE ", Constants.TILE_EFFECTS)
game.applyTileEffects()
game.endTurn()
finished.emit(Constants.EVALUATE_POSITION)