D'angband
0.0.0
Deeangband
総合概要
諸情報
名前空間
クラス
ファイル
ファイル一覧
ファイルメンバ
全て
クラス
名前空間
ファイル
関数
変数
型定義
列挙型
列挙値
フレンド
マクロ定義
ページ
Square.cpp
[詳解]
1
9
#include "
stdafx.h
"
10
#include "
Square.h
"
11
12
namespace
Deeangband
13
{
14
15
Square::Square() : GameElement(), HaveInventory(), HaveHp()
16
{
17
WipeData();
18
}
19
20
void
Square::WipeData()
21
{
22
this->
floorTag
=
SPECIAL_TAG_UNKNOWN
;
23
this->
spaceTag
=
SPECIAL_TAG_UNKNOWN
;
24
this->
airTag
=
SPECIAL_TAG_UNKNOWN
;
25
}
26
27
Square::‾Square()
28
{
29
}
30
31
TAG
Square::GetFloorTag
(
void
)
32
{
33
return
this->
floorTag
;
34
}
35
36
TAG
Square::GetAirTag
(
void
)
37
{
38
return
this->
airTag
;
39
}
40
41
TAG
Square::GetSpaceTag
(
void
)
42
{
43
return
this->
spaceTag
;
44
}
45
46
bool
Square::SetFloorTag(
TAG
tag)
47
{
48
this->
floorTag
= tag;
49
return
true
;
50
}
51
52
Floor
*
Square::GetFloorPtr
(
void
)
53
{
54
return
NULL;
55
}
56
57
}
Deeangband::Square::GetFloorPtr
Floor * GetFloorPtr(void)
対応する地形のポインタを返す。
Definition:
Square.cpp:52
TAG
std::string TAG
ゲーム要素文字列ID
Definition:
Deeangband.h:144
Deeangband::Square::GetFloorTag
TAG GetFloorTag(void)
対応する床地形のタグを返す。
Definition:
Square.cpp:31
Deeangband::Square::airTag
TAG airTag
大気地形タグ
Definition:
Square.h:29
Deeangband::Square::GetAirTag
TAG GetAirTag(void)
対応する床地形のタグを返す。
Definition:
Square.cpp:36
Deeangband::Square::floorTag
TAG floorTag
床地形タグ
Definition:
Square.h:27
Deeangband::Square::spaceTag
TAG spaceTag
空間地形タグ
Definition:
Square.h:28
SPECIAL_TAG_UNKNOWN
#define SPECIAL_TAG_UNKNOWN
ゲーム要素タグのダミー名
Definition:
Deeangband.h:16
stdafx.h
標準のシステム インクルード ファイルのインクルード ファイル、または 参照回数が多く、かつあまり変更さ...
Square.h
ゲーム中のマスと付随要素のプロトタイプ
Deeangband::Floor
地形情報のクラス
Definition:
Floor.h:24
Deeangband::Square::GetSpaceTag
TAG GetSpaceTag(void)
対応する空間地形のタグを返す。
Definition:
Square.cpp:41
Deeangband
Square.cpp
2014年06月25日(水) 23時41分58秒作成 - D'angband / 構成:
1.8.7