public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params) { return(base.CanExecute(_eventType, _params) && _params.Self as EntityAliveSDX != null); }
/** * Checks whether the event can happen. */ public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params) { return(base.CanExecute(_eventType, _params) && this.blockName != "" && this.range.x >= 0 && this.range.y >= 0 && this.range.z >= 0); }
/** * Checks whether the event can happen. */ public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params) { return(base.CanExecute(_eventType, _params) && this.item != "" && this.count > 0); }
/** * Checks whether the event can happen. */ public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params) { Log.Out("Can Run."); return(true); }
/** * Checks whether the event can happen. */ public override bool CanExecute(MinEventTypes _eventType, MinEventParams _params) { return(base.CanExecute(_eventType, _params) && this.entitygroup != "" && this.minDistance >= 0 && this.maxDistance >= 0 && this.count > 0); }