Inheritance: Component
Exemple #1
0
        public TerrainRenderer(MyGame game, Camera camera, ViewGridProvider viewGridProvider)
            : base(game)
        {
            m_chunkManager = ToDispose(new ChunkManager(this, camera, viewGridProvider));

            LoadContent();
        }
        public ChunkOutlineRenderer(MyGame game, ChunkManager chunkManager)
            : base(game)
        {
            m_chunkManager = chunkManager;

            LoadContent();
        }