D'angband  0.0.0
Deeangband
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
クラス Door

ドアのクラス [詳細]

#include <Door.h>

Doorに対する継承グラフ
Doorのコラボレーション図

Public メソッド

 Door (ID id, TAG tag, GameWorld *gameWorld)
 Doorクラスコンストラクタ(GameElementメンバ対応) [詳細]
 
 Door (void)
 
 ‾Door (void)
 
- Public メソッド inherited from GameElement
 GameElement (ID id, TAG tag, GameWorld *gameWorld)
 GameElementクラスコンストラクタ [詳細]
 
 GameElement (void)
 GameElementクラスコンストラクタ [詳細]
 
virtual ‾GameElement (void)
 GameElementクラスデストラクタ [詳細]
 
virtual void SetDammyData (void)
 ダミーデータによる初期化 [詳細]
 
void SetID (ID newID)
 IDを設定する [詳細]
 
ID GetID ()
 IDを取得する [詳細]
 
void SetTag (TAG newTag)
 タグを設定する [詳細]
 
TAG GetTAG ()
 タグを取得する [詳細]
 
GameWorldGetGameWorld ()
 所属元のGameWorldインスタンスを返す [詳細]
 

Private メソッド

template<class Archive >
void serialize (Archive &archive, const unsigned int fileVersion)
 クラスのシリアライズ化を設定する [詳細]
 

Private 変数

ID floorID
 所在フロアID [詳細]
 
Coordinates position
 所在座標 [詳細]
 

フレンド

class boost::serialization::access
 

説明

ドアのクラス

Door.h17 行で定義されています。

コンストラクタとデストラクタ

Door::Door ( ID  id,
TAG  tag,
GameWorld gameWorld 
)

Doorクラスコンストラクタ(GameElementメンバ対応)

引数
idGameElementのID
tagGameElementのタグ
gameWorld所属元gameWorld参照ポインタ

Door.cpp12 行で定義されています。

12  : GameElement(id, tag, gameWorld)
13 {
14  return;
15 }
GameElement(void)
GameElementクラスコンストラクタ
Definition: GameElement.cpp:20
TAG tag
タグ
Definition: GameElement.h:34
Door::Door ( void  )

Door.cpp17 行で定義されています。

18 {
19  return;
20 }

関数

template<class Archive >
void Door::serialize ( Archive &  archive,
const unsigned int  fileVersion 
)
inlineprivate

クラスのシリアライズ化を設定する

引数
archiveアーカイブ化するクラスのアドレス
fileVersionファイルバージョン
戻り値
XMLSerializeテンプレート

Door.h32 行で定義されています。

33  {
34  archive & BOOST_SERIALIZATION_NVP(floorID);
35  archive & BOOST_SERIALIZATION_NVP(position);
36  }
ID floorID
所在フロアID
Definition: Door.h:21
Coordinates position
所在座標
Definition: Door.h:22
Door::‾Door ( void  )

Door.cpp22 行で定義されています。

23 {
24  return;
25 }

フレンドと関連する関数

friend class boost::serialization::access
friend

Door.h24 行で定義されています。

変数

ID Door::floorID
private

所在フロアID

Door.h21 行で定義されています。

Coordinates Door::position
private

所在座標

Door.h22 行で定義されています。


このクラスの説明は次のファイルから生成されました: