added battle state as globals, adds half working battle flow
This commit is contained in:
parent
b09eee0805
commit
4963131d3e
12 changed files with 250 additions and 95 deletions
11
globals/Global.gd
Normal file
11
globals/Global.gd
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue