This repository has been archived on 2025-01-05. You can view files and clone it, but cannot push or open issues or pull requests.

34 lines
529 B
GDScript3
Raw Normal View History

2020-05-09 12:45:05 +02:00
extends Node
var _player_id
var _player_name
var _game_id
var _is_host
func set_player_name(player_name):
_player_name = player_name
func set_player_id(player_id):
_player_id = player_id
func set_host(is_host):
_is_host = is_host
func is_host():
return _is_host
func get_player_name():
return _player_name
func get_player_id():
return _player_id
func set_game_id(game_id):
_game_id = game_id
func get_game_id():
return _game_id
func get_parsable_player():
return [_player_name, _player_id, _game_id, _is_host]