Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Sets the map type
- * @param t to change map to
- */
- public void changeMapType(boolean t)
- {
- mapType = t;
- output = new ArrayList<String>();
- //Only console is running
- if(countObservers() == 1)
- {
- output.add("OK");
- setChanged();
- notifyObservers();
- }
- //Both gui and console are running
- else
- {
- map();
- }
- }
Add Comment
Please, Sign In to add comment