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

#include <string>

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

class Player;
class Sector;
class Door: public Interactable
{
private:
	std::string m_name;
	Vector2 m_destinationCoordinates;

	Sector *m_sector;
	Player *m_player;
	short *m_gameState;

public:
	Door(std::string, int, int, int, int, Sector*, Player*, short*);

	virtual void interact();

	~Door();
};

#endif