Swarm/Globals/GameData.gd

22 lines
470 B
GDScript

extends Node
const WEBSOCKET_ENDPOINT: String = "wss://dev.bytesandpieces.xyz:9088"
var is_hot_seat: bool = false
var is_player_black: bool = false
var debug: bool = false
var allow_selecting_in_stack: bool = false
var lobby_code: String = ""
var has_bee_been_placed: bool = false
var bees_placed: Dictionary = {}
var disconnect_reason: String = ""
func reset() -> void:
is_hot_seat = false
has_bee_been_placed = false
disconnect_reason = ""
bees_placed = {}