-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathHomeMenu.cpp
More file actions
23 lines (22 loc) · 952 Bytes
/
HomeMenu.cpp
File metadata and controls
23 lines (22 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Program Description: This program is responsible for the appearance of home page
#include <iostream>
#include "Map.h"
#include "ItemAndMonster.h"
using namespace std;
//This function will be called out and placed at the top of terminal everytime other than battle time
//Map[] is array to store World Map Chris is our Main character
void print_HomeMenu(string Map[], Main_character Chris){
Display_Lab_Map(Map);
cout << "The asterisk (*) indicates your position." << endl;
cout << endl;
cout << "Name: " << Chris.name << endl;
cout << "Health: " << Chris.health << endl;
cout << "Armour: " << Chris.armour << endl;
cout << "Damage: " << Chris.damage << endl;
cout << "Speed: " << Chris.speed << endl;
cout << endl << endl;
cout << "[1]: Move to other location" << endl;
cout << "[2]: Check your items" << endl;
cout << "[3]: Check your equipment " << endl;
cout << "[4]: Save and quit" << endl;
}