Lot.cs

Go to the documentation of this file.
00001 using System;
00002 using System.Collections.Generic;
00003 using System.Text;
00004 using HouseOver.THARM.Attributes;
00005 
00006 namespace HouseOver.THARM
00007 {
00011     public enum TerrainType
00012     {
00014         Desert,
00016         Tundra,
00018         IceCap,
00020         Swamp,
00022         LavaStone,
00024         Plains,
00026         Jungle
00027     }
00028     
00032     [Serializable]
00033     [SearchItems]
00034     public class Lot : Item
00035     {
00037         private TerrainType type;
00038                 
00042         public Lot() : base(UniquelyIdentifiable.NextID) 
00043         { 
00044         }
00045                 
00050         public Lot(int id) : base(id) 
00051         { 
00052         }
00053                 
00061         public Lot(int id, int postalCode, int area, TerrainType type) : base(id, postalCode, area)
00062         {
00063             this.type = type;
00064         }
00065 
00069         [SaleCriteria("Terrain Type")]
00070         public TerrainType Type { get { return type; } set { type = value; } }
00071         
00072     }
00073 }

Generated on Wed Jan 10 03:42:42 2007 for THARM by  doxygen 1.5.1-p1