based
This commit is contained in:
parent
341c91742c
commit
0ae3a6be80
16 changed files with 324 additions and 5 deletions
19
twitch/player_data.gd
Normal file
19
twitch/player_data.gd
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
extends Resource
|
||||
class_name PlayerData
|
||||
|
||||
@export var money : int = 0
|
||||
@export var user_id : String = ""
|
||||
@export var username : String = ""
|
||||
|
||||
enum Result{
|
||||
none,
|
||||
win,
|
||||
lose
|
||||
}
|
||||
|
||||
var playing : bool = true
|
||||
var unix_timeout : int = 0 # will implement later, hides players who havent done anything for awhile
|
||||
var betting : bool = false
|
||||
var result : Result = Result.none
|
||||
var current_bet : int = 20 # no selection icon
|
||||
var current_wager : int = 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue