Esempio n. 1
0
 public static ObjectStateActive GetInstance()
 {
     if (instance == null)
     {
         instance = new ObjectStateActive();
     }
     return(instance);
 }
Esempio n. 2
0
 public override void Select(ObjectBase obj)
 {
     obj.ChangeState(ObjectStateActive.GetInstance());
 }