Esempio n. 1
0
    public void HitTarget()
    {
        //Grab the GOT
        GameObjectTracker go = GameObjectTracker.instance;

        switch (ID)
        {
        case BallSourceID.Bot:
        {
            go.TargetHit();
            break;
        }

        case BallSourceID.Capture:
        {
            go.CaptureHits();
            break;
        }

        case BallSourceID.Deflect:
        {
            go.DeflectHit();
            break;
        }

        case BallSourceID.Enemy:
        {
            break;
        }

        case BallSourceID.Hot:
        {
            break;
        }

        default:
            break;
        }
    }