summaryrefslogtreecommitdiff
path: root/src/interface/State.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/State.cpp')
-rw-r--r--src/interface/State.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/interface/State.cpp b/src/interface/State.cpp
index e069e8f..2828751 100644
--- a/src/interface/State.cpp
+++ b/src/interface/State.cpp
@@ -13,13 +13,14 @@
namespace ui {
-State::State(int w, int h) :
- mouseX(0),
- mouseY(0),
- mouseXP(0),
- mouseYP(0),
- width(w),
- height(h)
+State::State(int w, int h):
+ mouseX(0),
+ mouseY(0),
+ mouseXP(0),
+ mouseYP(0),
+ width(w),
+ height(h),
+ Components()
{
}