Code/Tilemap/ITilemapSceneEvent.cs

Interface for scene event handlers related to a tilemap. It extends a generic ISceneEvent and declares two optional methods, OnTilemapChanged and OnTilemapStable, which have default empty implementations.

using System;
using System.Collections.Generic;
using System.Text;

namespace Saandy.Tilemapper;

public interface ITilemapSceneEvent : ISceneEvent<ITilemapSceneEvent>
{

	/// <summary>
	/// Called when tilemap was changed this frame.
	/// </summary>
	void OnTilemapChanged() { }

	/// <summary>
	/// Called when the tilemap has been updated recently and stopped being updated.
	/// </summary>
	void OnTilemapStable() { }
}