mirror of
https://github.com/wu736139669/OzgGameRPG.git
synced 2026-08-08 07:17:40 +00:00
完善战斗系统
This commit is contained in:
@@ -140,4 +140,23 @@ public:
|
||||
static RPGExistingItems* create();
|
||||
};
|
||||
|
||||
//存档
|
||||
class RPGSaveData : public CCObject
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
int m_dataId;
|
||||
int m_mapId;
|
||||
float m_playerToX;
|
||||
float m_playerToY;
|
||||
string m_playerDirection;
|
||||
int m_gold;
|
||||
|
||||
RPGSaveData();
|
||||
virtual ~RPGSaveData();
|
||||
|
||||
static RPGSaveData* create();
|
||||
};
|
||||
|
||||
#endif /* defined(__OzgGameRPG__RPGData__) */
|
||||
|
||||
Reference in New Issue
Block a user