ChessBuilder/Systems/StateMachine/GameStates/BlackTurn.gd

6 lines
No EOL
234 B
GDScript

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