protected virtual void HandleActions(GameEngine engine, IEnumerable<StateAction> actions) { if (actions == null || actions.Count() == 0) return; foreach (StateAction action in actions) { if(action != null) action.Execute(engine); } }