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.
15 lines
308 B
15 lines
308 B
2 years ago
|
using System;
|
||
|
using gaemstone.Bloxel;
|
||
|
using gaemstone.Client;
|
||
|
using gaemstone.ECS;
|
||
|
|
||
|
namespace Immersion;
|
||
|
|
||
|
[Module]
|
||
|
public class ObserverModule
|
||
|
{
|
||
|
[Observer(ObserverEvent.OnSet)]
|
||
|
public static void DoObserver(in Chunk chunk, in Mesh _)
|
||
|
=> Console.WriteLine($"Chunk at {chunk.Position} now has a Mesh!");
|
||
|
}
|