9 lines
No EOL
278 B
GDScript
9 lines
No EOL
278 B
GDScript
extends "res://Systems/StateMachine/ChessGameState.gd"
|
|
|
|
func enter(_previous: String, _data := {}) -> void:
|
|
print("ENTERING STATE ", Constants.DRAW_PHASE)
|
|
if (game.isPlayerTurn()):
|
|
game.deckManager.drawCard()
|
|
finished.emit(Constants.PERSISTENT_EFFECTS)
|
|
|
|
|