public static void registerEventAction(CustomEventBase eventAction) { switch (eventAction.getName()) { //TODO Mapping of pilot/upgrade names and event action classes needed!!!! case "Wedge Antilles": DelegatesHandler.onBeforeAttack += eventAction.doEventAction; break; } }
public void addEventAction(CustomEventBase eventAction) { this.eventActions.Add(eventAction); }