Esempio n. 1
0
        public override void behaviorOnCollisionWithOther(GameLocation location)
        {
            Cropbeast beast = theOneWhoFiredMe.Get(location) as Cropbeast;

            beast?.onProjectileSpoiled();
            explode(location);
        }
Esempio n. 2
0
        public override void behaviorOnCollisionWithTerrainFeature
            (TerrainFeature _t, Vector2 _tileLocation, GameLocation location)
        {
            Cropbeast beast = theOneWhoFiredMe.Get(location) as Cropbeast;

            beast?.onProjectileSpoiled();
            explode(location);
        }