public ShapeModel() { _shapeList = new ShapeList(); _currentState = new PointerState(this); _commandManager = new CommandManager(); }
State _state; //狀態 #endregion Fields #region Constructors //建構元 public Model() { ChangeState(); //變換State _commandManager = new CommandManager(this); }