예제 #1
0
        protected override void AddState()
        {
            var factory = new TransitionStateFactory();

            myBoard.AddState((TransitionState)factory.Create());
            myBoard.AddState((TransitionState)factory.Create());
            myBoard.AddState((TransitionState)factory.Create());
        }
예제 #2
0
        protected override void AddState()
        {
            var factory = new TransitionStateFactory();

            myBoard.AddState((TransitionState)factory.Create());
            myBoard.AddState((TransitionState)factory.Create());
            myBoard.AddState((TransitionState)factory.Create());

            var monoBoard = (MonoTranBoard)myBoard;

            monoBoard.SetObject(0, objects[0]);
            monoBoard.SetObject(1, objects[1]);
            monoBoard.SetObject(2, objects[2]);
        }
예제 #3
0
 public TransitionState(TransitionStateFactory fact) : base(fact)
 {
     _stateKey  = 0;
     _stateName = "";
 }