1
Fork 0

Added main menu placeholder

This commit is contained in:
Jake Howard 2015-10-11 20:53:53 +01:00
parent 410f09ef6b
commit 903656f674
3 changed files with 12 additions and 9 deletions

10
src/UI/ui.cpp Normal file
View 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;
}
}

View file

@ -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;
} }

View file

@ -1,5 +0,0 @@
#include <iostream>
std::string getString() {
return "Hello World";
}