public void keyPressed(KeyEvent evt) {
        
        if (evt.getKeyCode() == keys[UP]) {
            this.direction = DIR_UP;
        }
        else if (evt.getKeyCode() == keys[DOWN]) {
            this.direction = DIR_DOWN;
        }
        else if (evt.getKeyCode() == keys[LEFT]) {
            this.direction = DIR_LEFT;
        }
        else if (evt.getKeyCode() == keys[RIGHT]) {
            this.direction = DIR_RIGHT;
        }
        else if (evt.getKeyCode() == keys[BOMB]) {
            dropBomb = true;
        }
        
    }