12 lines
415 B
C#
12 lines
415 B
C#
/// <summary>
|
|
/// Drives how the ghost object moves and orients each frame.
|
|
/// </summary>
|
|
public interface IGhostMovementStrategy
|
|
{
|
|
/// <summary>
|
|
/// Called every frame when there is an active ghost.
|
|
/// Responsible for updating GhostTransform.position and .rotation.
|
|
/// Must also write ctx.RotationAxis before returning.
|
|
/// </summary>
|
|
void UpdateMovement(ref GhostMovementContext ctx);
|
|
} |