protected override void AddState() { var factory = new TransitionStateFactory(); myBoard.AddState((TransitionState)factory.Create()); myBoard.AddState((TransitionState)factory.Create()); myBoard.AddState((TransitionState)factory.Create()); }
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]); }
public TransitionState(TransitionStateFactory fact) : base(fact) { _stateKey = 0; _stateName = ""; }