public override void Begin(Player p) { base.Begin(p); unitCard.AddSpellButtonCallback(PrimeSpell); unitCard.noActionCallback = FinishCharacter; p.ResetCharacters(); currState = State.Neutral; tileSelector.clickCallback = OnTileClick; tileSelector.Begin(); if (p.characters.Count > 0) { SelectTile(p.characters[0].currTile); } }
public override void Begin(Player p) { base.Begin(p); unitCard.AddSpellButtonCallback(PrimeSpell); characterListCard.Show(); spawnSelected = false; DefineSpawnTiles(); currState = State.Neutral; p.ResetCharacters(); tileSelector.clickCallback = OnTileClick; tileSelector.Begin(); SelectTile(GameMap.Instance.spawnTiles[0]); }