Reorganized files, started splitting up unit
This commit is contained in:
12
scripts/units/unit_allegiance.gd
Normal file
12
scripts/units/unit_allegiance.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
class_name UnitAllegiance extends Resource
|
||||
|
||||
enum AllegianceType {
|
||||
PLAYER,
|
||||
ENEMY,
|
||||
PLAYER_ALLY,
|
||||
ENEMY_ALLY,
|
||||
UNAFFILIATED
|
||||
}
|
||||
|
||||
@export var type: AllegianceType
|
||||
@export var color: Color
|
||||
Reference in New Issue
Block a user