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

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

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