//Checks the OBJECTACTION against ACTION, returns bool private bool CheckAction(IObject objectAction, int objectActionOption, IAction action, int actionOption) { if (objectAction != null && action != null) { return(action.ActionCheck(objectAction.Object(status.inSightRange, objectActionOption), actionOption)); } else { return(false); } }