public void render() {
        BufferStrategy bs = getBufferStrategy();
        if (bs == null) {
            createBufferStrategy(3);
            return;
        }

        int xOffset = player.x - (screen.width / 2);
        int yOffset = player.y - (screen.height / 2);

        level.renderTiles(screen, xOffset, yOffset);
        //Below player text
        switch(levelNum){
        case 0: 
        	Font.render("Tile Test  Map", screen, 0, 32, Colors.get(-1, -1, -1, 000), 1);
        	break;
        case 1:
        
        	break;
        }
        level.renderEntities(screen);
        //Above player text
        switch(levelNum){
        case 0: 
        	
        	break;
        case 1:
        
        	break;
        }
        
        for (int y = 0; y < screen.height; y++) {
            for (int x = 0; x < screen.width; x++) {
                int colorCode = screen.pixels[x + y * screen.width];
                if (colorCode < 255)
                    pixels[x + y * WIDTH] = colors[colorCode];
            }
        }
        
        Graphics g = bs.getDrawGraphics();
        g.drawImage(image, 0, 0, getWidth(), getHeight(), null);
        g.dispose();
        bs.show();
    }