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

#include <iostream>
#include <string>
#include <vector>
#include <fstream>

#include "Player.h"

#include "Interactable.h"
#include "Door.h"
#include "Chest.h"
#include "Trap.h"

class Player;
class Door;
class Sector
{
	private:
	std::string m_nom;
	std::vector<Door*> m_doorList;
	std::vector<Interactable*> m_interactableList;

	std::vector<std::vector<char>> m_map;

	public:
	Sector(std::string);

	void loadMap(Player*, short*);
	Door* getDoorAt(int, int);
	Interactable* getInteractableAt(int, int);
	std::vector<std::vector<char>>& getMap();
	std::string getSectorName();

	~Sector();
};

#endif