public void monthDropValueChangedHandler(Dropdown monthDrop) { short month = (short)(monthDrop.value); date = new NasaData.Date(date.Year, month, date.Day); ((GameMgr)GameMgr.Instance).setDate(date); }
public void dayDropValueChangedHandler(Dropdown dayDrop) { short day = (short)(dayDrop.value + 1); date = new NasaData.Date(date.Year, date.Month, day); ((GameMgr)GameMgr.Instance).setDate(date); }
public void yearDropValueChangedHandler(Dropdown yearDrop) { short year = (short)(1959 + yearDrop.value); date = new NasaData.Date(year, date.Month, date.Day); ((GameMgr)GameMgr.Instance).setDate(date); }
public void setDate(NasaData.Date date) { this.date = date; }