2024-01-16 22:01:16 +00:00
|
|
|
extends Node
|
|
|
|
|
2024-02-06 14:51:48 +00:00
|
|
|
@export var environment: Environment
|
|
|
|
@export var camera_attributes: CameraAttributesPractical
|
|
|
|
|
2024-02-12 15:58:17 +00:00
|
|
|
var camera: Camera
|
2024-01-16 22:01:16 +00:00
|
|
|
var player: Player
|
2024-01-28 18:18:16 +00:00
|
|
|
var players: PlayerManager
|
2024-01-26 11:50:46 +00:00
|
|
|
var account_id: String
|
2024-01-29 11:32:06 +00:00
|
|
|
var auth_token: String
|
2024-01-28 21:08:08 +00:00
|
|
|
var interacting_with_ui: bool
|
2024-01-29 11:32:06 +00:00
|
|
|
var instance_id: int
|
|
|
|
var username: String
|
2024-02-06 14:51:48 +00:00
|
|
|
|
|
|
|
func _enter_tree():
|
|
|
|
instance_id = OS.get_process_id() % 4
|
2024-02-10 18:21:10 +00:00
|
|
|
username = "user%d" % instance_id
|