Initial commit for testing/fixing a deprecated godot-colyseus addon
This commit is contained in:
10
scripts/room_state.gd
Normal file
10
scripts/room_state.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
# res://scripts/room_state.gd
|
||||
extends "res://addons/godot_colyseus/lib/schema.gd"
|
||||
class_name RoomState
|
||||
|
||||
var mySynchronizedProperty: String = "Hello world"
|
||||
|
||||
static func define_fields():
|
||||
return [
|
||||
Field.new("mySynchronizedProperty", Types.STRING),
|
||||
]
|
||||
Reference in New Issue
Block a user