-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
991 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace Singularity.Screen | ||
{ | ||
/// <inheritdoc cref = "IScreen" /> | ||
/// <summary> | ||
/// Any menu screen that has transitions should implement this interface | ||
/// </summary> | ||
internal interface ITransitionableMenu : IScreen | ||
{ | ||
/// <summary> | ||
/// Gives the current state of the transition of this screen | ||
/// </summary> | ||
bool TransitionRunning { get; } | ||
|
||
/// <summary> | ||
/// Method called to tell a screen to transition and which screen it should transition to. | ||
/// </summary> | ||
/// <param name="originScreen"></param> | ||
/// <param name="targetScreen"></param> | ||
/// <param name="gameTime">GameTime when the transition is called indicating transition start time</param> | ||
void TransitionTo(EScreen originScreen, EScreen targetScreen, GameTime gameTime); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.