17 lines
366 B
GDScript
17 lines
366 B
GDScript
extends Node
|
|
|
|
@export var environment: Environment
|
|
@export var camera_attributes: CameraAttributesPractical
|
|
|
|
var account: Account
|
|
var camera: Camera
|
|
var player: Player
|
|
var players: PlayerManager
|
|
var terrain: Terrain3D
|
|
var instance_id: int
|
|
|
|
func _enter_tree():
|
|
instance_id = 0 #OS.get_process_id() % 2
|
|
account = Account.new()
|
|
account.name = "user%d" % instance_id
|