added battle state as globals, adds half working battle flow

This commit is contained in:
Luca 2024-09-29 16:18:32 +02:00
parent b09eee0805
commit 4963131d3e
12 changed files with 250 additions and 95 deletions

11
globals/Global.gd Normal file
View file

@ -0,0 +1,11 @@
extends Node
enum BattleState {
NOT_IN_BATTLE = -1,
STARTED = 0,
PLAYER_TURN = 1,
ENEMY_TURN = 2,
CATCH = 3,
WIN = 4,
LOSE = 5
}