// Use this for initialization void Start() { turnText = this.transform.FindChild ("turn_text").GetComponent<TurnText> (); turnTextAnim = turnText.GetComponent<Animator> (); welcomeTextAnim = this.transform.FindChild ("welcome_text").GetComponent<Animator>(); }
private void Awake() { gameWinner = new GameWinner(winnerText); stoneCount = new StoneCount(blockCountText); turnTexts = new TurnText(turnText); }
static public Turn Parse(string s, int index = 0) => new Turn(TurnText.ParseSideSymbol(s[index]), index + 1 < s.Length ? TurnText.ParseDirection(s[index + 1]) : Rotation.Clockwise);
public override string ToString() => TurnText.ToSideSymbol(Side) + TurnText.ToDirectionString(Direction);