public void doItAll() {
		World world = new World(30);


		Displayer displayer = new Displayer(world);
		
		timer = new Timer();
		timer.setDayPeriodMs(1000);
		timer.addTimerListener(world);

		Thread t = new Thread(new Runnable() {
			@Override
			public void run() {
				boolean doDisplay=true;
				
				while (true) {
					if (doDisplay) {
						displayer.display();
					}

					try {
						if (System.in.available() != 0) {
							char c = (char) System.in.read();
							switch (c) {
							case 'P':
							case 'p':
								pauseGame();
								doDisplay=false;
								break;
							case 'r':
							case 'R':
								resumeGame();
								doDisplay=true;
								break;

							}
						}
					} catch (IOException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}

				try {
					Thread.sleep(1000);
				} catch (Exception e) {

				}
				
				}

			}

		});

		t.start();

		timer.start();

	}