コード例 #1
0
        protected override void DefineActions()
        {
//      A = new MockAction(EatAction, Actions) { Message = "Eating..." };
//      A = new MockAction(DrinkAction, Actions) { Message = "Drinking..." };
//      A = new MockAction(ToiletAction, Actions) { Message = "Toilet..." };
//      A = new MockAction(ShowerAction, Actions) { Message = "Shower..." };

            A = new MockAction(TestActionDefs.MockAction, Actions);
            A = new MockGenericAction(TestActionDefs.GenericMockAction, Actions);
            A = new FailingAction(TestActionDefs.FailingAction, Actions);
            A = new FailingGenericAction(TestActionDefs.GenericFailingAction, Actions);
//      A = new MockGenericAction(TestActionDefs.);
        }
コード例 #2
0
 FailingGenericAction(FailingGenericAction other) : base(other)
 {
 }