public void Init(FightType fightType, FightDefinition fightDefinition) { CreateMessageRibbonRoot(); if (fightType == FightType.TeamVersus) { CreateTeamPointCounter(); } }
public static void Initialize(FightType type, FightDefinition definition, FightStatus[] fightStatusArray) { fightType = type; fightDefinition = definition; fights = fightStatusArray; hasEnded = false; localPlayerTeamIndex = -1; allyTeamPoints = 0; opponentTeamPoints = 0; }