[This is preliminary documentation and is subject to change.]

The MapGenerator type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
AddCaves(Map)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Generate()()()()
GenerateEmpty(Int32, Int32, Int32)
Generates a new empty map, filled entirely with air.
GenerateFlatgrass(Int32, Int32, Int32)
Generates a new "flatgrass" map: 1 layer of grass in the middle of the map, 4 layers of dirt underneath, then stone all the way down.
GenerateMap()()()()
GenerateOcean(Int32, Int32, Int32)
Generates a new "ocean" map: 1 layer of sand at the bottom the map, then solid water up to the middle of the map.
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MakeFloodBarrier(Map)
Makes an admincrete barrier, 1 block thick, around the lower half of the map.
MakeTemplate(MapGenTemplate)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)

See Also