summaryrefslogtreecommitdiff
path: root/network/network.gd
blob: a0b3d1ea5f9a1ffc01097dba750a1665626924ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
extends Node


static var login_server: LoginServer
static var character_server: CharacterServer
static var map_server: MapServer


func _ready() -> void:
	login_server = LoginServer.new("127.0.0.1")


func _process(_delta: float) -> void:
	if login_server:
		login_server.listen()
	
	if character_server:
		character_server.listen()
	
	if map_server:
		map_server.listen()