Exemplo n.º 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());
        }
Exemplo n.º 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]);
        }
Exemplo n.º 3
0
 public TransitionState(TransitionStateFactory fact) : base(fact)
 {
     _stateKey  = 0;
     _stateName = "";
 }