Added main menu placeholder
This commit is contained in:
parent
410f09ef6b
commit
903656f674
3 changed files with 12 additions and 9 deletions
10
src/UI/ui.cpp
Normal file
10
src/UI/ui.cpp
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#include <string>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
namespace UI {
|
||||||
|
char[] ::mainMenu = "Hey look, it's the main menu!";
|
||||||
|
|
||||||
|
void displayMainMenu() {
|
||||||
|
std::cout << UI::mainMenu << std::endl;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +1,5 @@
|
||||||
#include <iostream>
|
#include "ui/ui.cpp"
|
||||||
#include "strings/strings.cpp"
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
std::cout << getString() << std::endl;
|
UI::displayMainMenu();
|
||||||
return 0;
|
|
||||||
}
|
}
|
|
@ -1,5 +0,0 @@
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
std::string getString() {
|
|
||||||
return "Hello World";
|
|
||||||
}
|
|
Reference in a new issue