@Override void handleEvent(Event e, EventPublisher ep) { for (StateBase branch : branches) { branch.handleEvent(e, ep); } }