Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class ChessFigure : MonoBehaviour
- {
- public int CurrentX { get; set; }
- public int CurrentY { get; set; }
- public bool isWhite;
- public void SetPosition(int x, int y)
- {
- CurrentX = x;
- CurrentY = y;
- }
- public virtual bool[,] PossibleMove()
- {
- return new bool[8,8];
- }
- }
Add Comment
Please, Sign In to add comment