src/Player.java
/**
     * Draws all player graphics
     * @param g Graphics reference
     */
Draws all player graphics
@param g Graphics reference
Draws all player graphics @param g Graphics reference
public void draw(Graphics g){
        if (lastDir.equals("L"))
            g.drawImage(imageL,x-w/2,y-h/2,null);
        else 
            g.drawImage(imageR,x-w/2,y-h/2,null);
    }
public void draw ( Graphics g ) { if ( lastDir . equals ( "L" ) ) g . drawImage ( imageL , x - w / 2 , y - h / 2 , null ) ; else g . drawImage ( imageR , x - w / 2 , y - h / 2 , null ) ; }
Draws all player graphics
 @param g Graphics reference
Draws all player graphics @param g Graphics reference