public override void Handle(Player context) { Map map = Map.GetInstance; List <MapObject> Objects = map.getMapContainer()[context.Coordinates.PosX, context.Coordinates.PosY]; foreach (var mapObject in Objects) { if (mapObject is Bomb) { Bomb bomb = mapObject as Bomb; bomb.BeThrown("up"); } } }