/// <summary> /// Returns a List with all the Element to draw /// </summary> /// <param name="window">Needed to draw TileMap</param> /// <returns>lDrawList</returns> public override CustomList Draw(RenderWindow window) { lDrawList = new CustomList(); switch (eCurrentMap) { case eMapState.ssMain: lDrawList = mMainMap.Draw(window); break; } return(lDrawList); }