C# Class ZatvorenoAI.TakeStrategy.Agents.NeedToTake.ShouldTake

Inheritance: IShouldTake
Afficher le fichier Open project: KonstantinSimeonov/Zatvoreno

Méthodes publiques

Méthode Description
ShouldPlayerTakeResponse ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : ShouldTakeResponse
ShouldTake ( ICardTracker tracker ) : System

Private Methods

Méthode Description
CheckHandForAnnounces ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : bool
HaveHigherCard ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : bool
OpponentPlaysTooHigh ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : bool
OpponentWins ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : bool
PlayerWins ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : bool
ShouldTakeLastTrump ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : bool

Method Details

ShouldPlayerTakeResponse() public méthode

public ShouldPlayerTakeResponse ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : ShouldTakeResponse
context Santase.Logic.Players.PlayerTurnContext
hand ICollection
Résultat ShouldTakeResponse

ShouldTake() public méthode

public ShouldTake ( ICardTracker tracker ) : System
tracker ICardTracker
Résultat System