19 lines
542 B
C#
19 lines
542 B
C#
using System.Collections.Generic;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
public class WorldRenderingState
|
|
{
|
|
/// <summary>
|
|
/// All terrain chunks. Use <see cref="AddTerrainChunk" /> to register new chunks with the rendering state.
|
|
/// </summary>
|
|
public List<TerrainChunk> TerrainChunks { get; } = new();
|
|
|
|
public TileHighlight TileHighlight { get; } = new();
|
|
|
|
public void AddTerrainChunk(TerrainChunk chunk)
|
|
{
|
|
TerrainChunks.Add(chunk);
|
|
}
|
|
}
|
|
} |