Vore_Sandbox_Remaster/scripts/Server.gd

17 lines
422 B
GDScript

extends Node
class_name GameServer
# this should contain the server code and keep track of the entities or whatever
var port:int = 8778
var server:WebSocketServer
var world:Node2D = get_parent()
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass