C# Class Dominion.Strategy.Description.StrategyDescription

Show file Open project: NathanTeeuwen/Dominulator Class Usage Examples

Public Properties

Property Type Description
purchaseOrderDescription PickByPriorityDescription
trashOrderDescription PickByPriorityDescription

Public Methods

Method Description
AddCardToPurchaseOrder ( Card card, int count ) : StrategyDescription
AddCardsToPurchaseOrder ( Card cards ) : StrategyDescription
GetAllCardsInStrategy ( System cardSet ) : void
GetDefaultDescription ( GameConfig gameConfig ) : StrategyDescription
GetDefaultPurchaseOrder ( GameConfig gameConfig ) : PickByPriorityDescription
GetDefaultTrashDescription ( GameConfig gameConfig ) : PickByPriorityDescription
StrategyDescription ( PickByPriorityDescription purchaseOrderDescription, PickByPriorityDescription trashOrderDescription ) : System.Collections.Generic
ToPlayerAction ( string playerName ) : PlayerAction
ToString ( ) : string

Private Methods

Method Description
GetDefaultCountForCard ( Card card ) : int

Method Details

AddCardToPurchaseOrder() public method

public AddCardToPurchaseOrder ( Card card, int count ) : StrategyDescription
card Card
count int
return StrategyDescription

AddCardsToPurchaseOrder() public method

public AddCardsToPurchaseOrder ( Card cards ) : StrategyDescription
cards Card
return StrategyDescription

GetAllCardsInStrategy() public method

public GetAllCardsInStrategy ( System cardSet ) : void
cardSet System
return void

GetDefaultDescription() public static method

public static GetDefaultDescription ( GameConfig gameConfig ) : StrategyDescription
gameConfig GameConfig
return StrategyDescription

GetDefaultPurchaseOrder() public static method

public static GetDefaultPurchaseOrder ( GameConfig gameConfig ) : PickByPriorityDescription
gameConfig GameConfig
return PickByPriorityDescription

GetDefaultTrashDescription() public static method

public static GetDefaultTrashDescription ( GameConfig gameConfig ) : PickByPriorityDescription
gameConfig GameConfig
return PickByPriorityDescription

StrategyDescription() public method

public StrategyDescription ( PickByPriorityDescription purchaseOrderDescription, PickByPriorityDescription trashOrderDescription ) : System.Collections.Generic
purchaseOrderDescription PickByPriorityDescription
trashOrderDescription PickByPriorityDescription
return System.Collections.Generic

ToPlayerAction() public method

public ToPlayerAction ( string playerName ) : PlayerAction
playerName string
return Dominion.Strategy.PlayerAction

ToString() public method

public ToString ( ) : string
return string

Property Details

purchaseOrderDescription public property

public PickByPriorityDescription,Dominion.Strategy.Description purchaseOrderDescription
return PickByPriorityDescription

trashOrderDescription public property

public PickByPriorityDescription,Dominion.Strategy.Description trashOrderDescription
return PickByPriorityDescription