// Start is called before the first frame update void Start() { timer = Time.time; photonView = PhotonView.Get(this); places = GameManager.instance.GetPosiblePlacesList(); currentPos = places.GetCurrentListPosition(transform.position); table = places.MoveCheck(currentPos); }
public GameManager(Vector3 firstPos, int x, int y) { Init(); posiblePlaces = new PosibleToGoPlaces(); posiblePlaces.SetListAll(firstPos, x, y); }