summaryrefslogtreecommitdiff
path: root/src/gui/shop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shop.cpp')
-rw-r--r--src/gui/shop.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp
index 1dd498a8..3706cdf8 100644
--- a/src/gui/shop.cpp
+++ b/src/gui/shop.cpp
@@ -23,3 +23,12 @@
#include "shop.h"
+int ShopItems::getNumberOfElements()
+{
+ return size();
+}
+
+std::string ShopItems::getElementAt(int i)
+{
+ return at(i).name;
+}