Esempio n. 1
0
    public void Execute(Transform position)
    {
        Debug.Log("Cannonball fired!");

        AmmoFactory.CreateCannonballShot(position, Data);
        ParticleFactory.CreateShotSmoke(position);
    }
    public void Execute(Transform position)
    {
        Debug.Log("Sea mine fired!");

        AmmoFactory.CreateSeaMineShot(position, Data);
        ParticleFactory.CreateShotSmoke(position);
    }
    public void Execute(Transform position)
    {
        Debug.Log("Gatling fired!");

        AmmoFactory.CreateGatlingShot(position, Data);
        ParticleFactory.CreateShotSmoke(position);
    }