@Override
	public void update(Observable o, Object arg) {
		if (arg instanceof WorldState) {
			WorldState worldState = (WorldState) arg;
			switch (worldState) {
			// When the timer hit 0
				case TIME_OVER:
					timeOver();
					break;
				// Set when the player has 0 health and 0 shield etc. IE, dead.
				case PLAYER_DIED:
					playerDied();
					break;
				// Set when the player completes the level
				case LEVEL_COMPLETED:
					// etc logic here
					break;
			}
		}
	}