ChessBuilder/Systems/StateMachine/GameStates/WhiteTurn.gd

6 lines
235 B
GDScript

extends "res://Systems/StateMachine/ChessGameState.gd"
func enter(_previous: String, _data := {}) -> void:
print("ENTERING STATE ", Constants.WHITE_TURN)
game.currentPlayer = game.WHITE
finished.emit(Constants.HAND_SETUP)