Example #1
0
 /// <summary> Resets all of the properties to their defaults and raises the 'OnNewMap' event. </summary>
 public void Reset()
 {
     Env.Reset();
     Width  = Height = Length = 0;
     blocks = null;
     Uuid   = Guid.NewGuid();
 }
Example #2
0
 /// <summary> Resets all of the properties to their defaults and raises the 'OnNewMap' event. </summary>
 public void Reset()
 {
     Env.Reset();
     Width = Height = Length = 0;
     Uuid  = Guid.NewGuid();
     game.WorldEvents.RaiseOnNewMap();
 }
 /// <summary> Resets all of the properties to their defaults and raises the 'OnNewMap' event. </summary>
 public void Reset()
 {
     Env.Reset();
     Width     = Height = Length = 0;
     blocks1   = null;
     blocks2   = null;
     Uuid      = Guid.NewGuid();
     HasBlocks = false;
 }
Example #4
0
        /// <summary> Resets all of the properties to their defaults and raises the 'OnNewMap' event. </summary>
        public void Reset()
        {
            Env.Reset();
            Width = 0; Height = 0; Length = 0;
            MaxX  = 0;  MaxY = 0;   MaxZ = 0;
            OneY  = 0;

            blocks    = null;
            blocks2   = null;
            Uuid      = Guid.NewGuid();
            HasBlocks = false;
        }