src/Hospital.java
/**
	 * Keep drawing the hospital including the capacity bar and the patients
	 * 
	 * @param g, a graphics
	 */
Keep drawing the hospital including the capacity bar and the patients

@param g, a graphics
Keep drawing the hospital including the capacity bar and the patients @param g a graphics
public void render(Graphics g) {
		g.setColor(Color.gray);
		g.fillRect(15, 15, capacity * 10, 32);
		g.setColor(new Color(75, greenValue, 0));
		g.fillRect(15, 15, patient * 10, 32);
		g.setColor(Color.white);
		g.drawRect(15, 15, capacity * 10, 32);
		for(int i = 0; i < hospitalMember.size(); i++) {
			hospitalMember.get(i).draw(g);
		}
	}
public void render ( Graphics g ) { g . setColor ( Color . gray ) ; g . fillRect ( 15 , 15 , capacity * 10 , 32 ) ; g . setColor ( new Color ( 75 , greenValue , 0 ) ) ; g . fillRect ( 15 , 15 , patient * 10 , 32 ) ; g . setColor ( Color . white ) ; g . drawRect ( 15 , 15 , capacity * 10 , 32 ) ; for ( int i = 0 ; i < hospitalMember . size ( ) ; i ++ ) { hospitalMember . get ( i ) . draw ( g ) ; } }
Keep drawing the hospital including the capacity bar and the patients
Keep drawing the hospital including the capacity bar and the patients