OSDN Git Service

[BUGGY]
[deeangband/Deeangband-new.git] / Deeangband / Dungeon.cpp
1 /*!
2 * @file Dungeon.cpp
3 * @brief \83Q\81[\83\80\92\86\82Ì\83_\83\93\83W\83\87\83\93\82ð\92è\8b`\82·\82é
4 * @date 2013/12/11
5 * @author Deskull
6 * 2013 Sikabane Works.
7 */
8
9 #include "stdafx.h"
10 #include "Dungeon.h"
11
12 namespace Deeangband
13 {
14
15         Dungeon::Dungeon(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
16         {
17                 this->baseSize.Set(80, 80);
18                 this->name = SPECIAL_NAME_UNKNOWN;
19                 this->minDepth = 1;
20                 this->maxDepth = 50;
21                 this->outerWallFeature = SPECIAL_TAG_UNKNOWN;
22                 this->innerWallFeature = SPECIAL_TAG_UNKNOWN;
23                 this->controlCamp = "";
24                 this->guardianSpecies = "";
25                 return;
26         }
27
28         Dungeon::Dungeon(void)
29         {
30                 return;
31         }
32
33         Dungeon::~Dungeon(void)
34         {
35                 return;
36         }
37
38         bool Dungeon::GenerateFloor(Floor *floorPtr, DEPTH depth)
39         {
40                 floorPtr = new Floor();
41                 floorPtr->SetSize(baseSize.GetX(), baseSize.GetY());
42                 return true;
43         }
44
45         TAG Dungeon::GetOuterWallFeatureTag(void)
46         {
47                 return this->innerWallFeature;
48         }
49
50         TAG Dungeon::GetInnerWallFeatureTag(void)
51         {
52                 return this->outerWallFeature;
53         }
54
55         TAG Dungeon::GetFloorFeatureTag(void)
56         {
57                 return this->floorFeature;
58         }
59
60         Coordinates Dungeon::GetBaseSize(void)
61         {
62                 return this->baseSize;
63         }
64
65 }