Yahtzee/PlayerManager.gd

15 lines
208 B
GDScript3
Raw Permalink Normal View History

2024-08-19 09:33:32 +02:00
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()