Ajout d'une correction possible
This commit is contained in:
17
Correction/MiniJeuxFinal/Games/IGame.cs
Normal file
17
Correction/MiniJeuxFinal/Games/IGame.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace MiniJeuxFinal.Games
|
||||
{
|
||||
internal interface IGame
|
||||
{
|
||||
event EventHandler<(IPlayer winner, IPlayer[] players)>? GameEnded;
|
||||
|
||||
event EventHandler<(string playerChoice, string computerChoice)>? TurnStarted;
|
||||
|
||||
event EventHandler<(IPlayer? winner, IPlayer[] players)>? TurnEnded;
|
||||
|
||||
|
||||
|
||||
string Name { get; }
|
||||
|
||||
void Start();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user