1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-10-16 11:57:26 +00:00

Create Alliance behaviour to mark entity factions

This commit is contained in:
Steffo 2022-04-03 08:21:21 +02:00
parent 1c984e23c3
commit 27e2c9e875
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,10 @@
extends Node
enum Alliance {
ENEMY = -1,
NONE = 0,
PLAYER = 1,
}
export(Alliance) var alliance: int

View file

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://src/entities/behaviours/Alliance.gd" type="Script" id=1]
[node name="Alliance" type="Node"]
script = ExtResource( 1 )