summaryrefslogtreecommitdiff
path: root/src/interface/State.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-11 22:59:45 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-11 22:59:45 (GMT)
commitfc2f52099c0bbb2412046252bf7b5e4113bbe8e4 (patch)
treeaa820daf182a845758c3ba2c649df54a228748d4 /src/interface/State.cpp
parent2eb09c1daac8199532694167f418146fa57e7735 (diff)
downloadpowder-fc2f52099c0bbb2412046252bf7b5e4113bbe8e4.zip
powder-fc2f52099c0bbb2412046252bf7b5e4113bbe8e4.tar.gz
More stuff, started console
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()
{
}