@Override
    public void onEvent(Event event) {
        if (event instanceof HitWallEvent) {
            onHitWall((HitWallEvent) event);
        } else if (event instanceof HitRobotEvent) {
            onHitRobot((HitRobotEvent) event);
        }

    }