C# Class Sanguosha.Core.Triggers.Trigger

Mostra file Open project: RagingBigFemaleBird/sgs Class Usage Examples

Public Methods

Method Description
Run ( Sanguosha.Core.Triggers.GameEvent gameEvent, GameEventArgs eventArgs ) : void

Main loop of the trigger logic. Invoked when the event it listens on is emitted.

Trigger ( ) : System

Method Details

Run() public method

Main loop of the trigger logic. Invoked when the event it listens on is emitted.
public Run ( Sanguosha.Core.Triggers.GameEvent gameEvent, GameEventArgs eventArgs ) : void
gameEvent Sanguosha.Core.Triggers.GameEvent Game event that invokes the trigger.
eventArgs GameEventArgs Parameters of the game event.
return void

Trigger() public method

public Trigger ( ) : System
return System