public Action GetAction(QLData.Direction direction) { foreach (Action action in _actionList) { if (action.direction == direction) { return(action); } } return(null); }
public Action(float qFactor, State targetState, QLData.Direction direction) { this._qFactor = qFactor; this._targetState = targetState; this._direction = direction; }
public Action(State targetState, QLData.Direction direction) { this._targetState = targetState; this._direction = direction; }