void Update()
 {
     if (currentState != null)
     {
         currentState.Update(this);
     }
 }
Exemplo n.º 2
0
    void Update()
    {
        if (currentState != null)
        {
            currentState.Update(this);
        }

        /*if(receiverAction > 0 && receiverAction <= Receivers.Length && ball_Controller.launched == false)
         * {
         *  ChooseReceiver(receiverAction);
         * }*/
    }