14 lines
340 B
C#
14 lines
340 B
C#
public interface IPlacementHandler
|
|
{
|
|
/// <summary>
|
|
/// Commit the ghost's current transform as the final placed state.
|
|
/// </summary>
|
|
void Commit(BlockEditContext ctx);
|
|
|
|
/// <summary>
|
|
/// Cancel the edit and restore any previous state.
|
|
/// </summary>
|
|
void Cancel(BlockEditContext ctx);
|
|
|
|
void Debugln();
|
|
} |