コード例 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 private TileManager()
 {
     numTiles = 0;
     // Add the requested initial number
     tiles = new TileRow();
     queue = new TileQueue();
     addBatch(Options.Instance.Num_Tiles);
 }
コード例 #2
0
        /// <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);
        }