Castle.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.Buildings
00007 {
00011     public enum CastleType
00012     {
00014         Transylvanian,
00016         Medieval,
00018         Gothic,
00020         Oriental,
00022         Disney
00023     }
00024 
00028     [SearchItems]
00029     [Serializable]
00030     public class Castle : House
00031     {
00033         private CastleType type;
00034                 
00038         public Castle() : base(UniquelyIdentifiable.NextID) { }
00039 
00044         public Castle(int id) : base(id) { }
00045 
00056         public Castle(int id, int postalCode, int area, int buildingYear, int levels, int groundArea, CastleType type) : base
00057             (id, postalCode, area, buildingYear, levels, groundArea)
00058         {
00059             this.type = type;
00060         }
00061 
00065         [SaleCriteria("Castle Type")]
00066         public CastleType Type { get { return type; } set { type = value; } }
00067 
00068     }
00069 }

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