16 lines
No EOL
423 B
C#
16 lines
No EOL
423 B
C#
using System.Collections.Generic;
|
|
|
|
public class StepTrigger : Trigger {
|
|
|
|
private RoundStep step;
|
|
|
|
public StepTrigger(RoundStep step, TriggeredEffect callback,
|
|
TriggerExpiration expiration, TriggerRepetition repetition)
|
|
: base(callback, expiration, repetition) {
|
|
this.step = step;
|
|
}
|
|
|
|
public bool IsTriggeredBy(BattleTime time) {
|
|
return time.RoundStep == this.step;
|
|
}
|
|
} |