Ajout d'une correction possible
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace MiniJeuxFinal.Games.PierrePapierCiseaux.Actions
|
||||
{
|
||||
public class StoneAction : IActionPpc
|
||||
{
|
||||
public string Name => "Pierre";
|
||||
|
||||
public bool ToWin(IActionPpc other)
|
||||
{
|
||||
return other is not PaperAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user