Beispiel #1
0
    private bool disposedValue = false; // To detect redundant calls

    protected virtual void Dispose(bool disposing)
    {
        if (!disposedValue)
        {
            if (disposing)
            {
                // TODO: dispose managed state (managed objects).
            }

            // TODO: free unmanaged resources (unmanaged objects) and override a finalizer below.
            // TODO: set large fields to null.
            onDispose();

            unregisterAll();

            data.ClearItems();
            parent = null;
            data   = null;

            disposedValue = true;
        }
    }
Beispiel #2
0
 /*=======================================================**=======================================================*/
 /*=========================================== CONSTRUCTOR/DECONSTRUCTOR ==========================================*/
 /*=======================================================**=======================================================*/
 public Tour(CrhcItem parent, JObject data) : base(parent, data)
 {
 }
Beispiel #3
0
 public CrhcFolder(CrhcItem parent, JObject data) : base(parent, data)
 {
     children = new List <CHILD_TYPE>();
 }
Beispiel #4
0
 public CrhcItem(CrhcItem parent, JObject data)
 {
     this.parent = parent;
     this.data   = data;
 }
Beispiel #5
0
 /*=======================================================**=======================================================*/
 /*=========================================== CONSTRUCTOR/DECONSTRUCTOR ==========================================*/
 /*=======================================================**=======================================================*/
 public Landmark(CrhcItem parent, JObject data) : base(parent, data)
 {
 }
Beispiel #6
0
 public BackButton(CrhcItem owner) : base(CrhcConstants.COLOR_TRANSPARENT)
 {
     this.owner   = owner;
     arrowTexture = ServiceLocator.getILoader().load <Texture2D>(CachedLoader.SERVER_PATH + "icons/right_icon.png");
     setTouchable(true);
 }
Beispiel #7
0
 public Experience(CrhcItem parent, JObject data) : base(parent, data)
 {
 }