Diamond Rush Game For Nokia X2-01 320x240 -

private Random random = new Random();

private void drawGame(Graphics g) // Draw map for (int y = 0; y < HEIGHT; y++) for (int x = 0; x < WIDTH; x++) int px = x * TILE_SIZE; int py = y * TILE_SIZE; diamond rush game for nokia x2-01 320x240

protected void keyPressed(int keyCode)

private void drawHUD(Graphics g) g.setColor(0, 0, 0); g.fillRect(0, 0, getWidth(), 20); g.setColor(255, 255, 255); g.drawString("Diamonds: " + diamondsCollected + "/" + diamondsTotal, 5, 5, Graphics.TOP private Random random = new Random(); private void