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