OSDN Git Service

FixedFloor class becomes a subclass of Floor class.
authorDeskull <deskull@users.sourceforge.jp>
Tue, 6 May 2014 14:03:58 +0000 (23:03 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Tue, 6 May 2014 14:03:58 +0000 (23:03 +0900)
Deeangband/FixedFloor.cpp
Deeangband/FixedFloor.h

index 45e09db..782cb0b 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       FixedFloor::FixedFloor(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       FixedFloor::FixedFloor(ID id, TAG tag, GameWorld *gameWorld) : Floor(id, tag, gameWorld)
        {
        }
 
index 608731e..b184e10 100644 (file)
@@ -7,7 +7,7 @@
 */
 
 #include "stdafx.h"
-#include "GameElement.h"
+#include "Floor.h"
 
 namespace Deeangband
 {
@@ -16,7 +16,7 @@ namespace Deeangband
        * @class FixedFloor
        * @brief \8cÅ\92è\83t\83\8d\83A\82Ì\83N\83\89\83X
        */
-       class FixedFloor : public GameElement
+       class FixedFloor : public Floor
        {
        private:
 
@@ -32,7 +32,7 @@ namespace Deeangband
                */
                template<class Archive> void serialize(Archive &archive, const unsigned int fileVersion) 
                {
-                       archive & BOOST_SERIALIZATION_NVP(name);
+                       archive & boost::serialization::make_nvp("Name", name);
                }
 
        public: