private void OnGUI() { menu.Reset(); if (menu.DrawButton("Rock")) { ui.Selected(new Rock()); } if (menu.DrawButton("Scissors")) { ui.Selected(new Scissors()); } if (menu.DrawButton("Paper")) { ui.Selected(new Paper()); } }
public void TriggerEventWhenUserSelectsAMovement() { ui.Selected(new Rock()); Assert.AreEqual(1, eventCount); }