X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fcarfire;a=blobdiff_plain;f=CarFire%2FCarFire%2FCarFire%2FMap.cs;h=26b74e9ac8fa2d9c5f557c60ea8f1bb0f4c99f1e;hp=3b10663d089a9f06242b68aa0082625a40876cf5;hb=8438a35a901cf43ef85f226f58b5627b376a23c4;hpb=acee761b9ba231f96187ebd7e051491a867287dc
diff --git a/CarFire/CarFire/CarFire/Map.cs b/CarFire/CarFire/CarFire/Map.cs
index 3b10663..26b74e9 100644
--- a/CarFire/CarFire/CarFire/Map.cs
+++ b/CarFire/CarFire/CarFire/Map.cs
@@ -58,7 +58,7 @@ namespace CarFire
///
/// The type of a map helps determine how the map is intended to be used.
///
- public enum Type
+ public enum Mode
{
None,
Campaign,
@@ -71,7 +71,7 @@ namespace CarFire
public class Metadata
{
public string Name;
- public Type Type;
+ public Mode Type;
public string Author;
public HashSet NumPlayers = new HashSet();
public string Tileset;
@@ -102,7 +102,7 @@ namespace CarFire
///
/// Get the type of the map.
///
- //public Type Type { get { return mData.mMetadata.Type; } }
+ public Mode Type { get { return mData.Metadata.Type; } }
///
/// Get the author of the map.
@@ -151,7 +151,9 @@ namespace CarFire
///
/// Construct a map with the provided map data.
///
- /// Map data.
+ /// The metadata.
+ /// The grid.
+ /// The entities.
public Map(Metadata metadata, char[,] grid, List entities)
{
mData = new Modal(metadata, grid, entities);