Yahtzee/PlayerManager.gd
2024-08-19 09:34:15 +02:00

15 lines
208 B
GDScript

extends Node
class_name PlayerManager
var players: Array = []
func add_player(player: Player):
players.append(player)
func get_players() -> Array:
return players
func clear_players():
players.clear()