And once again
This commit is contained in:
21
scenes_old_2/utils/player_data/player_data.gd
Normal file
21
scenes_old_2/utils/player_data/player_data.gd
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
Reference in New Issue
Block a user