コード例 #1
0
 private void newDream_Click(object sender, EventArgs e)
 {
     nmzSession.StartNewDream();
     nmzSession.CurrentDream.MonsterKilled += MonksterKilled;
     label2.Text = "Dream " + nmzSession.CurrentDream.Id;
     timerPointsReader.Enabled = true;
     timerLabelUpdater.Enabled = true;
 }
コード例 #2
0
        public void CanAddNewDreams()
        {
            nmzSession.StartNewDream();

            Assert.AreEqual(nmzSession.Dreams.Count, 1);
        }