diff --git a/src/UI/ui.cpp b/src/UI/ui.cpp new file mode 100644 index 0000000..c435a34 --- /dev/null +++ b/src/UI/ui.cpp @@ -0,0 +1,10 @@ +#include +#include + +namespace UI { + char[] ::mainMenu = "Hey look, it's the main menu!"; + + void displayMainMenu() { + std::cout << UI::mainMenu << std::endl; + } +} diff --git a/src/main.cpp b/src/main.cpp index 4c6ed4e..2ff105b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,7 +1,5 @@ -#include -#include "strings/strings.cpp" +#include "ui/ui.cpp" int main() { - std::cout << getString() << std::endl; - return 0; + UI::displayMainMenu(); } \ No newline at end of file diff --git a/src/strings/strings.cpp b/src/strings/strings.cpp deleted file mode 100644 index d8722e0..0000000 --- a/src/strings/strings.cpp +++ /dev/null @@ -1,5 +0,0 @@ -#include - -std::string getString() { - return "Hello World"; -} \ No newline at end of file