Basic client that understands factions

This commit is contained in:
2020-09-05 17:45:07 -04:00
parent ab3f05f013
commit ae3ecb03c5
53 changed files with 432 additions and 8 deletions

View File

@ -0,0 +1,13 @@
extends Sprite
export var faction = 1 setget set_faction, get_faction
func _ready():
set_faction(faction)
func set_faction(new_faction):
faction = new_faction
texture = load("res://art/entities/player/dev/dev_player_" + str(faction) + ".png")
func get_faction():
return faction