You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using System;
|
|
|
|
using gaemstone.ECS;
|
|
|
|
using gaemstone.Flecs;
|
|
|
|
using static gaemstone.Bloxel.Components.CoreComponents;
|
|
|
|
using static gaemstone.Client.Components.RenderingComponents;
|
|
|
|
|
|
|
|
namespace Immersion;
|
|
|
|
|
|
|
|
[Module]
|
|
|
|
public class ObserverTest
|
|
|
|
{
|
|
|
|
[Observer(typeof(ObserverEvent.OnSet))]
|
|
|
|
public static void DoObserver(in Chunk chunk, in MeshHandle _)
|
|
|
|
=> Console.WriteLine($"Chunk at {chunk.Position} now has a Mesh!");
|
|
|
|
}
|