Beispiel #1
0
 public void CommandWithPositionAction()
 {
     var trigger = new MockPositionTrigger();
     var CommandName = RegisterCommand(trigger);
     new Command(CommandName, delegate(Vector2D point) { actionPerformed = true; });
     AssertActionPerformed(trigger);
 }
        public void CommandWithPositionAction()
        {
            var trigger     = new MockPositionTrigger();
            var commandName = RegisterCommand(trigger);

            new Command(commandName, delegate(Vector2D point) { actionPerformed = true; });
            AssertActionPerformed(trigger);
        }