riversong code showcase
This commit is contained in:
19
Source/Riversong/Game/Rendering/WorldRenderingState.cs
Normal file
19
Source/Riversong/Game/Rendering/WorldRenderingState.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user