Пример #1
0
 protected virtual void Init()
 {
     ID             = System.Guid.NewGuid();
     state          = ObjectStatePreview.GetInstance();
     points         = new List <PointD>();
     color          = new Cairo.Color(0, 0, 0);
     this.observers = new List <IObserver>();
 }
 public virtual bool ExitCheck(ObjectStateBase nextState)
 {
     return(true);
 }
 public virtual bool EntranceCheck(ObjectStateBase previousState)
 {
     return(true);
 }