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