public void keyPressed(KeyEvent e) {
        int code = e.getKeyCode();
        if (e.VK_LEFT == code) {
            desiredVelX = -1;
            desiredVelY = 0;
        }
        if (e.VK_RIGHT == code) {
            desiredVelX = 1;
            desiredVelY = 0;
        }
        if (e.VK_UP == code) {
            desiredVelX = 0;
            desiredVelY = -1;
        }
        if (e.VK_DOWN == code) {
            desiredVelX = 0;
            desiredVelY = 1;
        }
       if(e.VK_CONTROL == code )  
       {
         //if(cheatEnabled == true)
         //{
            room.xcoor = getCoordinateX();
            room.ycoor = getCoordinateY();
            buttonPress = true;
            room.buttonPress = buttonPress;
         //}
       }
        //suicide switch for testing live tracking
        if (e.VK_DELETE == code){
            room.numLives--;
            AudioPlayer.stopAll();
            AudioPlayer.DEATH.play();
        }
    }