@Override
	public void handleEvent(Event event) {
		for (Transition trans : this.transitions) {
			if (trans.fromStateId.equals(this.currentStateId) && event.isOfType(trans.eventId)) {
				switchState(trans.toStateId);
				break;
			}
		}
	}