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;
 }
예제 #2
0
 public void Initialize(Player player)
 {
     playerRef   = player;
     playerID    = player.playerId;
     charData    = player.wizardData;
     name        = charData.wizardName;
     playerColor = player.playerColor;
 }