public Time getTime(int type) {
		int hour = 0, minute = 0, second = 0;
		
		if( type == Constants.GAME ) {
			// get the hour, minute, and second
			hour = game_time.getHours();
			minute = game_time.getMinutes();
			second = game_time.getSeconds();
		}

		else if( type == Constants.REAL ) {
			// get current data
			Calendar rightNow = Calendar.getInstance();

			// get the hour, minute, and second
			hour = rightNow.get(Calendar.HOUR);
			minute = rightNow.get(Calendar.MINUTE);
			second = rightNow.get(Calendar.SECOND);
		}
		
		// create and return a new Time object with the current time
		return new Time(hour, minute, second);
	}