/// <summary> /// Constructor /// </summary> private TileManager() { numTiles = 0; // Add the requested initial number tiles = new TileRow(); queue = new TileQueue(); addBatch(Options.Instance.Num_Tiles); }
/// <summary> /// Constructor /// </summary> private RenderableManager() { numRenderables = 0; indexes = new IndexBuffer(); renderables = new ArrayList(); queue = new RenderableQueue(); renderablesLoadQueue = new RenderableQueue(); tilesLoadQueue = new TileQueue(); // Add the requested initial number addBatch(Options.Instance.Num_Renderables); }