August 2018
Beginner
334 pages
10h 19m
English
We will need to create a specific move class for the Tic-Tac-Toe board derived from the parent class we created at the beginning of the chapter:
using UnityEngine;
using System.Collections;
public class MoveTicTac : Move
{
public int x;
public int y;
public int player;
public MoveTicTac(int x, int y, int player)
{
this.x = x;
this.y = y;
this.player = player;
}
}
Read now
Unlock full access