Files
Flappy-Bird-AI-Driven-Bohda…/Assets/Scripts/Gameplay/Bird/IBirdController.cs
T
2026-03-20 13:04:43 +02:00

17 lines
471 B
C#

namespace FlappyBird.Gameplay.Bird
{
/// <summary>
/// Contract for the bird's physics and rotation logic.
/// Implementations must NOT be MonoBehaviours.
/// </summary>
public interface IBirdController
{
/// <summary>Called once per frame to update rotation based on current velocity.</summary>
void Tick();
/// <summary>Applies a configurable upward force impulse to the bird.</summary>
void Jump();
}
}