Exemplo n.º 1
0
    public override void OnPress(bool isPressed)
    {
        if (isEnabled)
        {
            base.OnPress(isPressed);
        }
//		Shoe.is_Moving = true;
        if (Input.GetMouseButtonUp(0))
        {
            currPlayer = monopolyGame.GetCurrPlayer();
            playerMove(currPlayer);              //execute currentPlayer's move
            monopolyGame.advPlayerOrder();
        }
    }
Exemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     aniSearch();
     actingPlayer = monopolyGame.GetCurrPlayer();
 }
Exemplo n.º 3
0
 void Update()
 {
     animateCC();
     currentPlayer = monopolyGame.GetCurrPlayer();
 }