using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class GlobalTime
{

	public static float time = 24f;

	public static float comfortModifier = 0f;
	public static float foodModifier = 0f;
	public static float drinkModifier = 0f;


	/// <summary>
	/// Add or remove fixed amount of time
	/// </summary>
	/// <param name="t">Amount of time to add/remove</param>
	public static void ModifyTime(float t)
	{
		time += t;
		if (time <= 0)
		{
			time = 0;
		}
	}
}
