HouseOver.THARM.Buildings.Castle Class Reference

This class represents a castle. It inherits from House. More...

Inheritance diagram for HouseOver.THARM.Buildings.Castle:

Inheritance graph
[legend]
Collaboration diagram for HouseOver.THARM.Buildings.Castle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Castle ()
 Constructs a new Castle object.
 Castle (int id)
 Constructs a new Castle object with the specified id.
 Castle (int id, int postalCode, int area, int buildingYear, int levels, int groundArea, CastleType type)
 Constructs a new Castle object with all information filled out.
 Castle ()
 Constructs a new Castle object.
 Castle (int id)
 Constructs a new Castle object with the specified id.
 Castle (int id, int postalCode, int area, int buildingYear, int levels, int groundArea, CastleType type)
 Constructs a new Castle object with all information filled out.

Properties

[SaleCriteria("Castle Type")]
CastleType 
Type [get, set]
 Get and set the type of castle.

Private Attributes

CastleType type
 The type of the castle.

Detailed Description

This class represents a castle. It inherits from House.

Definition at line 30 of file Castle.cs.


Constructor & Destructor Documentation

HouseOver.THARM.Buildings.Castle.Castle (  ) 

Constructs a new Castle object.

Definition at line 38 of file Castle.cs.

00038 : base(UniquelyIdentifiable.NextID) { }

HouseOver.THARM.Buildings.Castle.Castle ( int  id  ) 

Constructs a new Castle object with the specified id.

Parameters:
id The ID to contruct the Castle object according to

Definition at line 44 of file Castle.cs.

00044 : base(id) { }

HouseOver.THARM.Buildings.Castle.Castle ( int  id,
int  postalCode,
int  area,
int  buildingYear,
int  levels,
int  groundArea,
CastleType  type 
)

Constructs a new Castle object with all information filled out.

Parameters:
id The ID to construct the Castle object according to
postalCode The castle's postal code
area The amount of floor space in the castle
buildingYear The castle's year of construction
levels The amount of floors in the castle
groundArea The amount of castle grounds (size of the lot)
type The type of castle

Definition at line 56 of file Castle.cs.

00056                                                                                                                        : base
00057             (id, postalCode, area, buildingYear, levels, groundArea)
00058         {
00059             this.type = type;
00060         }

HouseOver.THARM.Buildings.Castle.Castle (  ) 

Constructs a new Castle object.

Definition at line 38 of file Castle.cs.

00038 : base(UniquelyIdentifiable.NextID) { }

HouseOver.THARM.Buildings.Castle.Castle ( int  id  ) 

Constructs a new Castle object with the specified id.

Parameters:
id The ID to contruct the Castle object according to

Definition at line 44 of file Castle.cs.

00044 : base(id) { }

HouseOver.THARM.Buildings.Castle.Castle ( int  id,
int  postalCode,
int  area,
int  buildingYear,
int  levels,
int  groundArea,
CastleType  type 
)

Constructs a new Castle object with all information filled out.

Parameters:
id The ID to construct the Castle object according to
postalCode The castle's postal code
area The amount of floor space in the castle
buildingYear The castle's year of construction
levels The amount of floors in the castle
groundArea The amount of castle grounds (size of the lot)
type The type of castle

Definition at line 56 of file Castle.cs.

00056                                                                                                                        : base
00057             (id, postalCode, area, buildingYear, levels, groundArea)
00058         {
00059             this.type = type;
00060         }


Member Data Documentation

CastleType HouseOver::THARM::Buildings.Castle::type [private]

The type of the castle.

Definition at line 33 of file Castle.cs.


Property Documentation

[SaleCriteria("Castle Type")] CastleType HouseOver.THARM.Buildings.Castle.Type [get, set]

Get and set the type of castle.

Definition at line 66 of file Castle.cs.


The documentation for this class was generated from the following files:
Generated on Wed Jan 10 03:43:11 2007 for THARM by  doxygen 1.5.1-p1