private void drawEvent(Graphics g, ImageObserver o) {
        Collections.sort(events, eventComparator);
        for (Event event : events)
            event.setMapY(convertEventCoordToMap(event.getY()));

        for (int y = 0; y < height; y++) {
            for (int x = 0; x < width; x++)
                if (collision[y][x] != 0)
                    drawMapChip(middleground, x, y, g, o);
            // event
            for (Event event : events)
                if (event.getMapY() == y)
                    event.draw(g, o);
        }

        for (int y = 0; y < height; y++)
            for (int x = 0; x < width; x++)
                if (collision[y][x] == 0)
                    drawMapChip(middleground, x, y, g, o);
    }