10 lines
349 B
GDScript
10 lines
349 B
GDScript
extends "res://Systems/StateMachine/ChessGameState.gd"
|
|
|
|
func enter(_previous: String, _data := {}) -> void:
|
|
print("ENTERING STATE ", Constants.POST_MOVE)
|
|
|
|
if (game.isPlayerTurn()):
|
|
game.updateEffectDurations()
|
|
# if (game.isPlayerTurn()):
|
|
# game.deckManager.updateCardDurations()
|
|
finished.emit(Constants.TILE_EFFECTS)
|