killbox/godot/scenes/utils/player_data/player_data.gd
Nikolai Rodionov 37154955d6
WIP: Something
2025-02-17 17:34:47 +01:00

22 lines
400 B
GDScript

class_name PlayerData extends Resource
@export var id: int = 0
@export var username: String = ""
@export var score: int = 0
@export var damage: int = 0
@export var headshots: int = 0
enum Side {
BLUE = 0,
RED = 1,
UNDEFINED = -1,
}
const blue = "attack"
const red = "defend"
const underfined = "undefined"
@export var side: PlayerData.Side = Side.UNDEFINED
@export var active: bool = false