public Player(World world){
        try {
            this.world = world;
            BufferedImageLoader loader = new BufferedImageLoader();
            playerImg = loader.loadImage("images/player.gif");
            playerRect = new Rectangle(50, 0, 10, 36);
        } catch (IOException ex) {
            Logger.getLogger(Player.class.getName()).log(Level.SEVERE, null, ex);
        }
    }