Update Project
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user