/// <summary> /// /// </summary> public Texture() { Handle = -1; if (InUse == null) { InUse = new List <Texture>(); } InUse.Add(this); }
/// <summary> /// Constructor /// </summary> public TileSet() { Scale = new Vector2(1.0f, 1.0f); tiles = new Dictionary <int, Tile>(); IsDisposed = false; if (InUse == null) { InUse = new List <TileSet>(); } InUse.Add(this); }