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