/** * Constructor */ public MoveAlongDirection(FsmState owner, string timeReferenceName) : base(owner) { this.timeReference = TimeReferencePool.GetInstance().Get(timeReferenceName); }
/** * Constructor with a specified time reference name. */ public CountdownTimer(float countdownTime, string timeReferenceName) : this(countdownTime, TimeReferencePool.GetInstance().Get(timeReferenceName)) { }