Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#pragma once
#include <iostream>
#include <string>
#include <windows.h>
using namespace std;
//31/01/2020 relate to lecture and find out how to pre compile :)
class room
{
public:
room()
{
currentRoom = false;
};
~room()
{
};
bool currentRoom;
inline void setRoomState(bool update)
{
currentRoom = update;
}
void Draw()
{
DrawFrontBorder();
DrawImage();
DrawBackBorder();
}
void DrawImage()
{
cout << " _ __ __ __ " << endl;
cout << "| | / / ___ / / _____ _____ ____ _____ ___ / /_____ _____ __ _____ ____ _____ _____ ___ ___ " << endl;
cout << "| | /| / / / _ \\ / / / ___/ / __ \/ / __ `__ \/ / _ \\ / __/ __ \\ / __ \/ / / / ___/ / __ `/ __ `/ __ `__ \\/ _ \\ "<< endl;
cout << "| |/ |/ / / __ / / / / /__ / /_/ / / / / / / / / __/ / /_/ /_/ / / /_/ / /_/ / / / /_/ / /_/ / / / / / / __/" << endl;
cout << "|__/|__/ \\___/ /_/ /_\___/ /\_____/ /_/ /_/ /_/ \\___/ \\__/\\____/ \\____/\\__,__/_/ \\__, /\\__,_/_/ /_/ /_/\\___/ ";
cout << " /____/" << endl;
}
void DrawFrontBorder()
{
cout << "#############################################################################################################################################################################################" << endl << endl << endl << endl << endl << endl << endl;
}
void DrawBackBorder()
{
cout << "#############################################################################################################################################################################################" << endl << endl;
}
string description = "This is your Description";
};