Пример #1
0
 public ShapeModel()
 {
     _shapeList = new ShapeList();
     _currentState = new PointerState(this);
     _commandManager = new CommandManager();
 }
Пример #2
0
        State _state; //狀態

        #endregion Fields

        #region Constructors

        //建構元
        public Model()
        {
            ChangeState(); //變換State
            _commandManager = new CommandManager(this);
        }