public Player(int playerId, WizardDataScriptable wizardData, InputType inputType, int joistickId, Color playerColor) { this.playerId = playerId; this.wizardData = wizardData; this.inputType = inputType; this.joistickId = joistickId; this.playerColor = playerColor; }
public void Initialize(Player player) { playerRef = player; playerID = player.playerId; charData = player.wizardData; name = charData.wizardName; playerColor = player.playerColor; }