Exemplo n.º 1
0
    public void monthDropValueChangedHandler(Dropdown monthDrop)
    {
        short month = (short)(monthDrop.value);

        date = new NasaData.Date(date.Year, month, date.Day);
        ((GameMgr)GameMgr.Instance).setDate(date);
    }
Exemplo n.º 2
0
    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);
    }
Exemplo n.º 3
0
    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);
    }
Exemplo n.º 4
0
 public void setDate(NasaData.Date date)
 {
     this.date = date;
 }