Advertisement
Voltonik

Untitled

Aug 13th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using Photon.Pun;
  5.  
  6. public abstract class Chessman : MonoBehaviourPunCallbacks {
  7. public int CurrentX { set; get; }
  8. public int CurrentY { set; get; }
  9. public bool isWhite;
  10.  
  11. public void SetPosition (int x, int y) {
  12. CurrentX = x;
  13. CurrentY = y;
  14. }
  15.  
  16. public virtual bool[,] PossibleMove () {
  17. return new bool[8,8];
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement