D'angband  0.0.0
Deeangband
 全て クラス 名前空間 ファイル 関数 変数 型定義 列挙型 列挙値 フレンド マクロ定義 ページ
Door.h
[詳解]
1 
9 #pragma once
10 
11 #include "stdafx.h"
12 #include "Coordinates.h"
13 #include "GameElement.h"
14 
15 namespace Deeangband
16 {
19  {
24  };
25 
39  class Door : public GameElement
40  {
41  private:
42 
45 
47 
54  template<class Archive> void serialize(Archive &archive, const unsigned int version)
55  {
56  if(version >= 0)
57  {
58  archive & boost::serialization::make_nvp("Position", position);
59  archive & boost::serialization::make_nvp("Status", status);
60  }
61  }
62 
63  public:
64 
68  Door::Door(void);
69 
73  Door::‾Door(void);
74  };
75 
76 }
77 
Coordinatesクラスとその他付随要素の定義
閉じている
Definition: Door.h:21
ドアのクラス
Definition: Door.h:39
Coordinates position
所在座標
Definition: Door.h:43
施錠されている
Definition: Door.h:22
開いている
Definition: Door.h:20
BOOST_CLASS_VERSION(Deeangband::Door, 10)
void serialize(Archive &archive, const unsigned int version)
クラスのシリアライズを設定する
Definition: Door.h:54
壊れている
Definition: Door.h:23
DOOR_STATUS status
ドアの状態
Definition: Door.h:44
標準のシステム インクルード ファイルのインクルード ファイル、または 参照回数が多く、かつあまり変更さ...
friend class boost::serialization::access
Definition: Door.h:46
ゲーム座標のクラス
Definition: Coordinates.h:32
GameElementクラスと付随要素のプロトタイプ
ゲームの諸要素の管理を行うスーパークラス
Definition: GameElement.h:21
DOOR_STATUS
ドアの状態を示す列挙子
Definition: Door.h:18