package old;

public class DrawingsV2 {
	// Prints several figures, with methods for structure and redundancy.
	    public static void main(String[] args) {
	        egg();
	        teaCup();
	        stopSign();
	        hat();
	    }
	    
	    // Draws an egg figure.
	    public static void egg() {
	        eggTop();
	        eggBottom();
	        System.out.println();
	    }
	    
	    // Draws a teacup figure.
	    public static void teaCup() {
	        eggBottom();
	        line();
	        System.out.println();
	    }
	  
	    // Draws a stop sign figure.
	    public static void stopSign() {
	        eggTop();
	        System.out.println("|  STOP  |");
	        eggBottom();
	        System.out.println();
	    }
	   
	    // Draws a sort of hat.
	    private static void hat() {
	        eggTop();
	        line();
	    }
	    
	    // Helper Methods
	    
	    // Draws the top half of an an egg figure.
	    private static void eggTop() {
	        System.out.println("  ______");
	        System.out.println(" /      \\");
	        System.out.println("/        \\");
	    }
	    
	    // Draws the bottom half of an egg figure.
	    private static void eggBottom() {
	        System.out.println("\\        /");
	        System.out.println(" \\______/");
	    }
	   
	    // Draws a line of dashes.
	    private static void line() {
	        System.out.println("+--------+");
	    }
	}
