uni

Thing1's amazing uni repo
Log | Files | Refs | Submodules

Main.java (659B)


      1 package Monster;
      2 
      3 /**
      4  * The entry point of the program
      5  */ 
      6 public class Main {
      7 	/**
      8 	 * The entry method to the program
      9 	 */
     10 	private static Treasure designTreasure() {
     11 		String color;
     12 		String type
     13 		int pp;
     14 		
     15 
     16 		Menu m = new Menu();
     17 		m.addEntry(new MenuItem('c', "Color"));
     18 		m.addEntry(new MenuItem('t', "Type"));
     19 		m.addEntry(new MenuItem('p', "Power points"));
     20 		m.addEntry(new MenuItem('d', "Done"));
     21 
     22 		for (;;) {
     23 			Pair<String, String> res = m.runMenu();
     24 			switch (res.getFirst()) {
     25 			case "c":
     26 
     27 			}
     28 		}
     29 	}
     30 
     31 	public static void main(String[] args) throws InterruptedException {
     32 		Monster m = new Monster(MonsterType.GIANT, "Grey", true);
     33 	}
     34 }