D'angband  0.0.0
Deeangband
 全て クラス 名前空間 ファイル 関数 変数 型定義 列挙型 列挙値 フレンド マクロ定義 ページ
GameWorld.cpp
[詳解]
1 
9 #include "stdafx.h"
10 #include "GameWorld.h"
11 #include "Deeangband.h"
12 
13 namespace Deeangband
14 {
15 
16  GameWorld::GameWorld(void)
17  {
18  int i;
19  Dice::Initialize();
20  XMLLoad();
21 
22  itemID = 0;
23  trapID = 0;
24  creatureID = 0;
25  fieldID = 0;
26 
27  GameWorld::GenerateCreature("VANILLA_STIGMATIC", 0, 10, 10);
28  GameWorld::GenerateCreature("VANILLA_RAVING_LUNATIC", 0, 5, 5);
29  fieldList.emplace(0, boost::make_shared<Field>(dungeonList.find("VANILLA_WOMB"), 1));
30 
31 
32  for(i = 0; i < MAX_KARMAS; i++)
33  {
34  karmaList.emplace("VANILLA_", boost::make_shared<Karma>());
35  }
36 
37  playerPtr = &(*creatureList[0]);
38  }
39 
40  GameWorld::‾GameWorld(void)
41  {
42  }
43 
44  bool GameWorld::GenerateCreature(TAG creatureTag)
45  {
46  creatureList.emplace(this->creatureID, boost::make_shared<Creature>(speciesList.find(creatureTag)));
47  actionList.push_back(creatureList[this->creatureID]);
48  do
49  {
50  this->creatureID++;
51  } while(creatureList.find(this->creatureID) != creatureList.end());
52  return true;
53  }
54 
55  bool GameWorld::GenerateCreature(TAG creatureTag, ID fieldID, int x, int y)
56  {
57  creatureList.emplace(this->creatureID, boost::make_shared<Creature>(speciesList.find(creatureTag), fieldID, x, y));
58  actionList.push_back(creatureList[this->creatureID]);
59  do
60  {
61  this->creatureID++;
62  } while(creatureList.find(this->creatureID) != creatureList.end());
63  return true;
64  }
65 
66  bool GameWorld::xmlSaveAir(void)
67  {
68  std::ofstream ofs("lib-Vanilla¥¥Air.xml");
69  assert(ofs);
70  boost::archive::xml_oarchive oa(ofs);
71  oa << boost::serialization::make_nvp("Airs", this->airList);
72  ofs.close();
73  return true;
74  }
75 
76  bool GameWorld::xmlSaveAbility(void)
77  {
78  std::ofstream ofs("lib-Vanilla¥¥Ability.xml");
79  assert(ofs);
80  boost::archive::xml_oarchive oa(ofs);
81  oa << boost::serialization::make_nvp("Abilities", this->abilityList);
82  ofs.close();
83  return true;
84  }
85 
86  bool GameWorld::xmlSaveAuthority(void)
87  {
88  std::ofstream ofs("lib-Vanilla¥¥Authority.xml");
89  assert(ofs);
90  boost::archive::xml_oarchive oa(ofs);
91  oa << boost::serialization::make_nvp("Authorities", this->authorityList);
92  ofs.close();
93  return true;
94  }
95 
96  bool GameWorld::xmlSaveBuilding(void)
97  {
98  std::ofstream ofs("lib-Vanilla¥¥Building.xml");
99  assert(ofs);
100  boost::archive::xml_oarchive oa(ofs);
101  oa << boost::serialization::make_nvp("Buildings", this->buildingList);
102  ofs.close();
103  return true;
104  }
105 
106  bool GameWorld::xmlSaveCamp(void)
107  {
108  std::ofstream ofs("lib-Vanilla¥¥Camp.xml");
109  assert(ofs);
110  boost::archive::xml_oarchive oa(ofs);
111  oa << boost::serialization::make_nvp("Camps", this->campList);
112  ofs.close();
113  return true;
114  }
115 
116  bool GameWorld::xmlSaveCreatureTrait(void)
117  {
118  std::ofstream ofs("lib-Vanilla¥¥CreatureTrait.xml");
119  assert(ofs);
120  boost::archive::xml_oarchive oa(ofs);
121  oa << boost::serialization::make_nvp("CreatureTraits", this->creatureTraitList);
122  ofs.close();
123  return true;
124  }
125 
126  bool GameWorld::xmlSaveDungeon(void)
127  {
128  std::ofstream ofs("lib-Vanilla¥¥Dungeon.xml");
129  assert(ofs);
130  boost::archive::xml_oarchive oa(ofs);
131  oa << boost::serialization::make_nvp("Dungeons", this->dungeonList);
132  ofs.close();
133  return true;
134  }
135 
136  bool GameWorld::xmlSaveEffect(void)
137  {
138  std::ofstream ofs("lib-Vanilla¥¥Effect.xml");
139  assert(ofs);
140  boost::archive::xml_oarchive oa(ofs);
141  oa << boost::serialization::make_nvp("Effects", this->effectList);
142  ofs.close();
143  return true;
144  }
145 
146  bool GameWorld::xmlSaveFloor(void)
147  {
148  std::ofstream ofs("lib-Vanilla¥¥Floor.xml");
149  assert(ofs);
150  boost::archive::xml_oarchive oa(ofs);
151  oa << boost::serialization::make_nvp("Floors", this->floorList);
152  ofs.close();
153  return true;
154  }
155 
156  bool GameWorld::xmlSaveFixedArtifact(void)
157  {
158  std::ofstream ofs("lib-Vanilla¥¥FixedArtifact.xml");
159  assert(ofs);
160  boost::archive::xml_oarchive oa(ofs);
161  oa << boost::serialization::make_nvp("FixedArtifacts", this->fixedArtifactList);
162  ofs.close();
163  return true;
164  }
165 
166  bool GameWorld::xmlSaveItemBase(void)
167  {
168  std::ofstream ofs("lib-Vanilla¥¥ItemBase.xml");
169  assert(ofs);
170  boost::archive::xml_oarchive oa(ofs);
171  oa << boost::serialization::make_nvp("ItemBases", this->itemBaseList);
172  ofs.close();
173  return true;
174  }
175 
176  bool GameWorld::xmlSaveItemEgo(void)
177  {
178  std::ofstream ofs("lib-Vanilla¥¥ItemEgo.xml");
179  assert(ofs);
180  boost::archive::xml_oarchive oa(ofs);
181  oa << boost::serialization::make_nvp("ItemEgos", this->itemEgoList);
182  ofs.close();
183  return true;
184  }
185 
186  bool GameWorld::xmlSaveItemTrait(void)
187  {
188  std::ofstream ofs("lib-Vanilla¥¥ItemTrait.xml");
189  assert(ofs);
190  boost::archive::xml_oarchive oa(ofs);
191  oa << boost::serialization::make_nvp("ItemTraits", this->itemTraitList);
192  ofs.close();
193  return true;
194  }
195 
196  bool GameWorld::xmlSaveKarma(void)
197  {
198  std::ofstream ofs("lib-Vanilla¥¥Karma.xml");
199  assert(ofs);
200  boost::archive::xml_oarchive oa(ofs);
201  oa << boost::serialization::make_nvp("Karmas", this->karmaList);
202  ofs.close();
203  return true;
204  }
205 
206  bool GameWorld::xmlSaveQuest(void)
207  {
208  std::ofstream ofs("lib-Vanilla¥¥Quest.xml");
209  assert(ofs);
210  boost::archive::xml_oarchive oa(ofs);
211  oa << boost::serialization::make_nvp("Quests", this->questList);
212  ofs.close();
213  return true;
214  }
215 
216  bool GameWorld::xmlSaveRace(void)
217  {
218  std::ofstream ofs("lib-Vanilla¥¥Race.xml");
219  assert(ofs);
220  boost::archive::xml_oarchive oa(ofs);
221  oa << boost::serialization::make_nvp("Races", this->raceList);
222  ofs.close();
223  return true;
224  }
225 
226  bool GameWorld::xmlSaveSpace(void)
227  {
228  std::ofstream ofs("lib-Vanilla¥¥Space.xml");
229  assert(ofs);
230  boost::archive::xml_oarchive oa(ofs);
231  oa << boost::serialization::make_nvp("Spaces", this->spaceList);
232  ofs.close();
233  return true;
234  }
235 
236  bool GameWorld::xmlSaveSkill(void)
237  {
238  std::ofstream ofs("lib-Vanilla¥¥Skill.xml");
239  assert(ofs);
240  boost::archive::xml_oarchive oa(ofs);
241  oa << boost::serialization::make_nvp("Skills", this->skillList);
242  ofs.close();
243  return true;
244  }
245 
246  bool GameWorld::xmlSaveSpecie(void)
247  {
248  std::ofstream ofs("lib-Vanilla¥¥Specie.xml");
249  assert(ofs);
250  boost::archive::xml_oarchive oa(ofs);
251  oa << boost::serialization::make_nvp("Species", this->speciesList);
252  ofs.close();
253  return true;
254  }
255 
256  bool GameWorld::xmlSaveStartingClass(void)
257  {
258  std::ofstream ofs("lib-Vanilla¥¥StartingClass.xml");
259  assert(ofs);
260  boost::archive::xml_oarchive oa(ofs);
261  oa << boost::serialization::make_nvp("StartingClasses", this->startingClassList);
262  ofs.close();
263  return true;
264  }
265 
266  bool GameWorld::xmlSaveTrapBase(void)
267  {
268  std::ofstream ofs("lib-Vanilla¥¥TrapBase.xml");
269  assert(ofs);
270  boost::archive::xml_oarchive oa(ofs);
271  oa << boost::serialization::make_nvp("TrapBases", this->trapBaseList);
272  ofs.close();
273  return true;
274  }
275 
276  bool GameWorld::XMLSave(void)
277  {
278  this->xmlSaveAir();
279  this->xmlSaveAbility();
280  this->xmlSaveAuthority();
281  this->xmlSaveBuilding();
282  this->xmlSaveCamp();
283  this->xmlSaveCreatureTrait();
284  this->xmlSaveDungeon();
285  this->xmlSaveEffect();
286  this->xmlSaveFloor();
287  this->xmlSaveFixedArtifact();
288  this->xmlSaveItemBase();
289  this->xmlSaveItemEgo();
290  this->xmlSaveItemTrait();
291  this->xmlSaveKarma();
292  this->xmlSaveQuest();
293  this->xmlSaveRace();
294  this->xmlSaveSpace();
295  this->xmlSaveSkill();
296  this->xmlSaveSpecie();
297  this->xmlSaveStartingClass();
298  this->xmlSaveTrapBase();
299  return true;
300  }
301 
302  bool GameWorld::xmlLoadAir()
303  {
304  std::ifstream ifs("lib-Vanilla¥¥Air.xml");
305  assert(ifs);
306  boost::archive::xml_iarchive ia(ifs);
307  ia >> BOOST_SERIALIZATION_NVP(airList);
308  return true;
309  }
310 
311  bool GameWorld::xmlLoadAbility()
312  {
313  std::ifstream ifs("lib-Vanilla¥¥Ability.xml");
314  assert(ifs);
315  boost::archive::xml_iarchive ia(ifs);
316  ia >> BOOST_SERIALIZATION_NVP(abilityList);
317  return true;
318  }
319 
320  bool GameWorld::xmlLoadAuthority()
321  {
322  std::ifstream ifs("lib-Vanilla¥¥Authority.xml");
323  assert(ifs);
324  boost::archive::xml_iarchive ia(ifs);
325  ia >> BOOST_SERIALIZATION_NVP(authorityList);
326  return true;
327  }
328 
329  bool GameWorld::xmlLoadBuilding()
330  {
331  std::ifstream ifs("lib-Vanilla¥¥Building.xml");
332  assert(ifs);
333  boost::archive::xml_iarchive ia(ifs);
334  ia >> BOOST_SERIALIZATION_NVP(buildingList);
335  return true;
336  }
337 
338  bool GameWorld::xmlLoadCamp()
339  {
340  std::ifstream ifs("lib-Vanilla¥¥Camp.xml");
341  assert(ifs);
342  boost::archive::xml_iarchive ia(ifs);
343  ia >> BOOST_SERIALIZATION_NVP(campList);
344  return true;
345  }
346 
347  bool GameWorld::xmlLoadCreatureTrait()
348  {
349  std::ifstream ifs("lib-Vanilla¥¥CreatureTrait.xml");
350  assert(ifs);
351  boost::archive::xml_iarchive ia(ifs);
352  ia >> BOOST_SERIALIZATION_NVP(creatureTraitList);
353  return true;
354  }
355 
356  bool GameWorld::xmlLoadDungeon()
357  {
358  std::ifstream ifs("lib-Vanilla¥¥Dungeon.xml");
359  assert(ifs);
360  boost::archive::xml_iarchive ia(ifs);
361  ia >> BOOST_SERIALIZATION_NVP(dungeonList);
362  return true;
363  }
364 
365  bool GameWorld::xmlLoadEffect()
366  {
367  std::ifstream ifs("lib-Vanilla¥¥Effect.xml");
368  assert(ifs);
369  boost::archive::xml_iarchive ia(ifs);
370  ia >> BOOST_SERIALIZATION_NVP(effectList);
371  return true;
372  }
373 
374  bool GameWorld::xmlLoadFloor()
375  {
376  std::ifstream ifs("lib-Vanilla¥¥Floor.xml");
377  assert(ifs);
378  boost::archive::xml_iarchive ia(ifs);
379  ia >> BOOST_SERIALIZATION_NVP(floorList);
380  return true;
381  }
382 
383  bool GameWorld::xmlLoadFixedArtifact()
384  {
385  std::ifstream ifs("lib-Vanilla¥¥FixedArtifact.xml");
386  assert(ifs);
387  boost::archive::xml_iarchive ia(ifs);
388  ia >> BOOST_SERIALIZATION_NVP(fixedArtifactList);
389  return true;
390  }
391 
392  bool GameWorld::xmlLoadItemBase()
393  {
394  std::ifstream ifs("lib-Vanilla¥¥ItemBase.xml");
395  assert(ifs);
396  boost::archive::xml_iarchive ia(ifs);
397  ia >> BOOST_SERIALIZATION_NVP(itemBaseList);
398  return true;
399  }
400 
401  bool GameWorld::xmlLoadItemEgo()
402  {
403  std::ifstream ifs("lib-Vanilla¥¥ItemEgo.xml");
404  assert(ifs);
405  boost::archive::xml_iarchive ia(ifs);
406  ia >> BOOST_SERIALIZATION_NVP(itemEgoList);
407  return true;
408  }
409 
410  bool GameWorld::xmlLoadItemTrait()
411  {
412  std::ifstream ifs("lib-Vanilla¥¥ItemTrait.xml");
413  assert(ifs);
414  boost::archive::xml_iarchive ia(ifs);
415  ia >> BOOST_SERIALIZATION_NVP(itemTraitList);
416  return true;
417  }
418 
419  bool GameWorld::xmlLoadKarma()
420  {
421  std::ifstream ifs("lib-Vanilla¥¥Karma.xml");
422  assert(ifs);
423  boost::archive::xml_iarchive ia(ifs);
424  ia >> BOOST_SERIALIZATION_NVP(karmaList);
425  return true;
426  }
427 
428  bool GameWorld::xmlLoadQuest()
429  {
430  std::ifstream ifs("lib-Vanilla¥¥Quest.xml");
431  assert(ifs);
432  boost::archive::xml_iarchive ia(ifs);
433  ia >> BOOST_SERIALIZATION_NVP(questList);
434  return true;
435  }
436 
437  bool GameWorld::xmlLoadRace()
438  {
439  std::ifstream ifs("lib-Vanilla¥¥Race.xml");
440  assert(ifs);
441  boost::archive::xml_iarchive ia(ifs);
442  ia >> BOOST_SERIALIZATION_NVP(raceList);
443  return true;
444  }
445 
446  bool GameWorld::xmlLoadSpace()
447  {
448  std::ifstream ifs("lib-Vanilla¥¥Space.xml");
449  assert(ifs);
450  boost::archive::xml_iarchive ia(ifs);
451  ia >> BOOST_SERIALIZATION_NVP(spaceList);
452  return true;
453  }
454 
455  bool GameWorld::xmlLoadSkill()
456  {
457  std::ifstream ifs("lib-Vanilla¥¥Skill.xml");
458  assert(ifs);
459  boost::archive::xml_iarchive ia(ifs);
460  ia >> BOOST_SERIALIZATION_NVP(skillList);
461  return true;
462  }
463 
464  bool GameWorld::xmlLoadSpecie()
465  {
466  std::ifstream ifs("lib-Vanilla¥¥Specie.xml");
467  assert(ifs);
468  boost::archive::xml_iarchive ia(ifs);
469  ia >> BOOST_SERIALIZATION_NVP(speciesList);
470  return true;
471  }
472 
473  bool GameWorld::xmlLoadStartingClass()
474  {
475  std::ifstream ifs("lib-Vanilla¥¥StartingClass.xml");
476  assert(ifs);
477  boost::archive::xml_iarchive ia(ifs);
478  ia >> BOOST_SERIALIZATION_NVP(startingClassList);
479  return true;
480  }
481 
482  bool GameWorld::xmlLoadTrapBase()
483  {
484  std::ifstream ifs("lib-Vanilla¥¥TrapBase.xml");
485  assert(ifs);
486  boost::archive::xml_iarchive ia(ifs);
487  ia >> BOOST_SERIALIZATION_NVP(trapBaseList);
488  return true;
489  }
490 
491  void GameWorld::XMLLoad(void)
492  {
493  this->xmlLoadAir();
494  this->xmlLoadAbility();
495  this->xmlLoadAuthority();
496  this->xmlLoadBuilding();
497  this->xmlLoadCamp();
498  this->xmlLoadCreatureTrait();
499  this->xmlLoadDungeon();
500  this->xmlLoadEffect();
501  this->xmlLoadFloor();
502  this->xmlLoadFixedArtifact();
503  this->xmlLoadItemBase();
504  this->xmlLoadItemEgo();
505  this->xmlLoadItemTrait();
506  this->xmlLoadKarma();
507  this->xmlLoadQuest();
508  this->xmlLoadRace();
509  this->xmlLoadSpace();
510  this->xmlLoadSkill();
511  this->xmlLoadSpecie();
512  this->xmlLoadStartingClass();
513  this->xmlLoadTrapBase();
514  }
515 
516  Authority *GameWorld::GetAuthority(TAG tag)
517  {
518  return &(*authorityList[tag]);
519  }
520 
521  CreatureTrait *GameWorld::GetCreatureTrait(TAG tag)
522  {
523  return &(*creatureTraitList[tag]);
524  }
525 
526  Effect *GameWorld::GetEffect(TAG tag)
527  {
528  return &(*effectList[tag]);
529  }
530 
531  FixedArtifact *GameWorld::GetFixedArtifact(TAG tag)
532  {
533  return &(*fixedArtifactList[tag]);
534  }
535 
536  Floor *GameWorld::GetFloor(TAG tag)
537  {
538  return &(*floorList[tag]);
539  }
540 
541  ItemBase *GameWorld::GetItemBase(TAG tag)
542  {
543  return &(*itemBaseList[tag]);
544  }
545 
546  ItemEgo *GameWorld::GetItemEgo(TAG tag)
547  {
548  return &(*itemEgoList[tag]);
549  }
550 
551  ItemTrait *GameWorld::GetItemTrait(TAG tag)
552  {
553  return &(*itemTraitList[tag]);
554  }
555 
556  Karma *GameWorld::GetKarma(TAG tag)
557  {
558  return &(*karmaList[tag]);
559  }
560 
561  Skill *GameWorld::GetSkill(TAG tag)
562  {
563  return &(*skillList[tag]);
564  }
565 
566  Species *GameWorld::GetSpecies(TAG tag)
567  {
568  return &(*speciesList[tag]);
569  }
570 
571  TrapBase *GameWorld::GetTrapBase(TAG tag)
572  {
573  return &(*trapBaseList[tag]);
574  }
575 
576  Building *GameWorld::GetBuilding(TAG tag)
577  {
578  return &(*buildingList[tag]);
579  }
580 
581  Camp *GameWorld::GetCamp(TAG tag)
582  {
583  return &(*campList[tag]);
584  }
585 
586  Dungeon *GameWorld::GetDungeon(TAG tag)
587  {
588  return &(*dungeonList[tag]);
589  }
590 
591  Item *GameWorld::GetItem(ID id)
592  {
593  return &(*itemList[id]);
594  }
595 
596  Field *GameWorld::GetField(ID id)
597  {
598  return &(*fieldList[id]);
599  }
600 
601  Creature *GameWorld::GetCreature(ID id)
602  {
603  return &(*creatureList[id]);
604  }
605 
606  std::map<TAG, boost::shared_ptr<Ability>> *GameWorld::GetAbilityList(void)
607  {
608  return &(this->abilityList);
609  }
610 
611  std::map<ID, boost::shared_ptr<Creature>> *GameWorld::GetCreatureList(void)
612  {
613  return &(this->creatureList);
614  }
615 
616  Quest *GameWorld::GetQuest(TAG tag)
617  {
618  return &(*questList[tag]);
619  }
620 
621  GAME_TIME GameWorld::GetGameTime(void)
622  {
623  return this->gameTime;
624  }
625 
626  void GameWorld::WipeCreature(ID id)
627  {
628  creatureList.erase(id);
629  }
630 
631  Creature *GameWorld::GetPlayerCreature(void)
632  {
633  return this->playerPtr;
634  }
635 
636  std::vector<boost::shared_ptr<HaveGameTime>>* GameWorld::GetActionList(void)
637  {
638  return &(this->actionList);
639  }
640 
641 }
ID trapID
空きトラップID
Definition: GameWorld.h:87
std::map< TAG, boost::shared_ptr< Floor > > floorList
Definition: GameWorld.h:64
std::map< TAG, boost::shared_ptr< Dungeon > > dungeonList
Definition: GameWorld.h:62
GAME_TIME gameTime
ゲーム時間
Definition: GameWorld.h:92
std::map< TAG, boost::shared_ptr< Skill > > skillList
Definition: GameWorld.h:72
int ID
ゲーム要素ID
Definition: Deeangband.h:143
std::map< TAG, boost::shared_ptr< Quest > > questList
Definition: GameWorld.h:70
std::string TAG
ゲーム要素文字列ID
Definition: Deeangband.h:144
bool GameWorld::GenerateCreature(TAG creatureTag)
クリーチャーを生成しGameWorld中の諸要素と連携させる
std::map< TAG, boost::shared_ptr< TrapBase > > trapBaseList
Definition: GameWorld.h:76
std::map< TAG, boost::shared_ptr< Space > > spaceList
Definition: GameWorld.h:71
std::map< TAG, boost::shared_ptr< Karma > > karmaList
Definition: GameWorld.h:69
std::map< ID, boost::shared_ptr< Item > > itemList
Definition: GameWorld.h:79
std::map< TAG, boost::shared_ptr< Species > > speciesList
Definition: GameWorld.h:73
std::vector< boost::shared_ptr< HaveGameTime > > actionList
Definition: GameWorld.h:89
std::map< TAG, boost::shared_ptr< CreatureTrait > > creatureTraitList
Definition: GameWorld.h:61
std::map< TAG, boost::shared_ptr< Ability > > abilityList
Definition: GameWorld.h:57
int GAME_TIME
ゲーム時間
Definition: Deeangband.h:157
std::map< TAG, boost::shared_ptr< FixedArtifact > > fixedArtifactList
Definition: GameWorld.h:65
標準のシステム インクルード ファイルのインクルード ファイル、または 参照回数が多く、かつあまり変更さ...
std::map< TAG, boost::shared_ptr< Race > > raceList
Definition: GameWorld.h:75
std::map< TAG, boost::shared_ptr< Building > > buildingList
Definition: GameWorld.h:59
Creature * playerPtr
プレイヤークリーチャー参照ポインタ
Definition: GameWorld.h:91
std::map< TAG, boost::shared_ptr< Authority > > authorityList
Definition: GameWorld.h:58
ゲーム世界のプロトタイプ宣言
ID itemID
空きアイテムID
Definition: GameWorld.h:84
std::map< TAG, boost::shared_ptr< Camp > > campList
Definition: GameWorld.h:60
ID creatureID
空きクリーチャーID
Definition: GameWorld.h:85
std::map< ID, boost::shared_ptr< Creature > > creatureList
Definition: GameWorld.h:80
std::map< TAG, boost::shared_ptr< StartingClass > > startingClassList
Definition: GameWorld.h:74
std::map< TAG, boost::shared_ptr< Effect > > effectList
Definition: GameWorld.h:63
std::map< TAG, boost::shared_ptr< ItemTrait > > itemTraitList
Definition: GameWorld.h:68
std::map< TAG, boost::shared_ptr< ItemEgo > > itemEgoList
Definition: GameWorld.h:67
std::map< ID, boost::shared_ptr< Field > > fieldList
Definition: GameWorld.h:81
std::map< TAG, boost::shared_ptr< Air > > airList
Definition: GameWorld.h:56
カルマ数
Definition: Karma.h:58
std::map< TAG, boost::shared_ptr< ItemBase > > itemBaseList
Definition: GameWorld.h:66
std::vector< boost::shared_ptr< HaveGameTime > > * GetActionList(void)
行動順リストを返す
Definition: GameWorld.cpp:636
ID fieldID
空きフィールドID
Definition: GameWorld.h:86