public static bool LevelChunkCollision(Geometry.Circle2D c, double objectZ, double objectHeight, LevelChunk levelChunk)
        {
            if (levelChunk is Wall) return WallCollision(c, objectZ, objectHeight, levelChunk as Wall);
            if (levelChunk is Corridor) return CorridorCollision(c, objectZ, objectHeight, levelChunk as Corridor);
            if (levelChunk is Platform)
            {
                var r = PlatformCollision(c, objectZ, objectHeight, levelChunk as Platform);

                return r;
            }
            return false;
        }
 public void DrawLevelChunk(LevelChunk l)
 {
     if (l is Wall) DrawWall(l as Wall);
       if (l is Corridor) DrawCorridor(l as Corridor);
       if (l is Platform) DrawPlatform(l as Platform);
 }