Guest User

Untitled

a guest
Jun 21st, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public abstract class ChessFigure : MonoBehaviour
  2. {
  3. public int CurrentX { get; set; }
  4. public int CurrentY { get; set; }
  5. public bool isWhite;
  6.  
  7. public void SetPosition(int x, int y)
  8. {
  9. CurrentX = x;
  10. CurrentY = y;
  11. }
  12.  
  13. public virtual bool[,] PossibleMove()
  14. {
  15. return new bool[8,8];
  16. }
  17. }
Add Comment
Please, Sign In to add comment