C# Class Sanguosha.Core.Triggers.RelayTrigger

Inheritance: Trigger
显示文件 Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
CheckConditions ( Sanguosha.Core.Triggers.GameEvent gameEvent, GameEventArgs eventArgs ) : bool
RelayTrigger ( ) : System
RelayTrigger ( TriggerAction action, TriggerCondition condition ) : System
RelayTrigger ( TriggerPredicate predicate, TriggerAction action, TriggerCondition condition ) : System
Run ( Sanguosha.Core.Triggers.GameEvent gameEvent, GameEventArgs eventArgs ) : void

Private Methods

Method Description
CheckCondition ( TriggerCondition checkAgainst ) : bool

Method Details

CheckConditions() public method

public CheckConditions ( Sanguosha.Core.Triggers.GameEvent gameEvent, GameEventArgs eventArgs ) : bool
gameEvent Sanguosha.Core.Triggers.GameEvent
eventArgs GameEventArgs
return bool

RelayTrigger() public method

public RelayTrigger ( ) : System
return System

RelayTrigger() public method

public RelayTrigger ( TriggerAction action, TriggerCondition condition ) : System
action TriggerAction
condition TriggerCondition
return System

RelayTrigger() public method

public RelayTrigger ( TriggerPredicate predicate, TriggerAction action, TriggerCondition condition ) : System
predicate TriggerPredicate
action TriggerAction
condition TriggerCondition
return System

Run() public method

public Run ( Sanguosha.Core.Triggers.GameEvent gameEvent, GameEventArgs eventArgs ) : void
gameEvent Sanguosha.Core.Triggers.GameEvent
eventArgs GameEventArgs
return void