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 "strings/strings.cpp"
|
||||
#include "ui/ui.cpp"
|
||||
|
||||
int main() {
|
||||
std::cout << getString() << std::endl;
|
||||
return 0;
|
||||
UI::displayMainMenu();
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
#include <iostream>
|
||||
|
||||
std::string getString() {
|
||||
return "Hello World";
|
||||
}
|
Reference in a new issue