• Fichier: Save.h
  • Path: /dungeon_ascii/DungeonASCII/Save.h
  • File size: 440 bytes
  • MIME-type: text/x-c++
  • Charset: utf-8
 
Retour
#ifndef _SAVE_CLASS_H_INCLUDED
#define _SAVE_CLASS_H_INCLUDED

#include <string>
#include <fstream>

#include "Vector2.h"
#include "Player.h"
#include "Sector.h"

class Save
{
private:
	int m_gameFileCount;
	int m_gameFileSlot;

public:
	Save();

	void loadGameFile(Player**, Sector**, short *pGameState, int = -1);
	void saveGameFile(Player*, Sector*, bool = false);
	int getGameFileCount();

	~Save();
};

#endif