예제 #1
0
 /// <summary>
 ///
 /// </summary>
 public Texture()
 {
     Handle = -1;
     if (InUse == null)
     {
         InUse = new List <Texture>();
     }
     InUse.Add(this);
 }
예제 #2
0
        /// <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);
        }