Move App logic to other projects
This commit is contained in:
22
Zennysoft.Game.Abstractions/App/IAppRepo.cs
Normal file
22
Zennysoft.Game.Abstractions/App/IAppRepo.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Zennysoft.Game.Abstractions;
|
||||
|
||||
public interface IAppRepo : IDisposable
|
||||
{
|
||||
event Action? GameEntered;
|
||||
|
||||
event Action? GameExited;
|
||||
|
||||
event Action? SplashScreenSkipped;
|
||||
|
||||
event Action? MainMenuEntered;
|
||||
|
||||
void SkipSplashScreen();
|
||||
|
||||
void OnMainMenuEntered();
|
||||
|
||||
void OnEnterGame();
|
||||
|
||||
void OnExitGame();
|
||||
|
||||
void OnGameOver();
|
||||
}
|
||||
6
Zennysoft.Game.Abstractions/NPCs/ICanPatrol.cs
Normal file
6
Zennysoft.Game.Abstractions/NPCs/ICanPatrol.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Zennysoft.Game.Abstractions;
|
||||
|
||||
public interface ICanPatrol
|
||||
{
|
||||
public void Patrol();
|
||||
}
|
||||
Reference in New Issue
Block a user