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

Inheritance: IShouldTake
Mostra file Open project: KonstantinSimeonov/Zatvoreno

Public Methods

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

Private Methods

Method 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 method

public ShouldPlayerTakeResponse ( Santase.Logic.Players.PlayerTurnContext context, ICollection hand ) : ShouldTakeResponse
context Santase.Logic.Players.PlayerTurnContext
hand ICollection
return ShouldTakeResponse

ShouldTake() public method

public ShouldTake ( ICardTracker tracker ) : System
tracker ICardTracker
return System