protected void AddActions(EntityType type) { var actions = gameData.GetActions(type); foreach (var action in actions) { Type[] actionTypes = ResolveActionTypes(action.Action); RegisterActions(action.EntityId, actionTypes); } }