コード例 #1
0
 public void SetResearch(Research research)
 {
     _research = research;
     _researchView.SetName(_research.GetName());
     _researchView.SetDescription(_research.GetDescription());
     _researchView.SetTimerText("Time to learn: " + _research.GetTime());
 }
コード例 #2
0
    public void SetResearch(Research research)
    {
        _research = research;

        //update the view when research is added
        _researchView.SetName(_research.GetName());
        _researchView.SetDescription(_research.GetDescription());
        _researchView.SetTimerText("Time to learn: " + _research.GetTime());
    }