Ejemplo n.º 1
0
    public void RetractMove()
    {
        Jump move = GameDataManager.mSingleton.GetPreviousMove();

        if (move != null)
        {
            move.GetStartHex().EnablePeg(true);
            move.GetJumpedHex().EnablePeg(true);
            move.GetEndHex().EnablePeg(false);

            mRemainingTimeText.text = GameplayUIHandler.FormatRemainingTime(move.GetRemainingTime());
        }
    }