summaryrefslogtreecommitdiffstats
path: root/src/object/robotmain.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-06-24 22:09:39 +0200
committererihel <erihel@gmail.com>2013-06-24 22:09:39 +0200
commit41fa8458c2e28f05a610bfc3119f86b8dc85542a (patch)
tree4a653c3f32cb0d524af2669d666fd8385b9a408f /src/object/robotmain.h
parent5c15855009aaab519718b80808d9e10eeda6b425 (diff)
downloadcolobot-41fa8458c2e28f05a610bfc3119f86b8dc85542a.tar.gz
colobot-41fa8458c2e28f05a610bfc3119f86b8dc85542a.tar.bz2
colobot-41fa8458c2e28f05a610bfc3119f86b8dc85542a.zip
Some Ui refactoring
Diffstat (limited to 'src/object/robotmain.h')
-rw-r--r--src/object/robotmain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/object/robotmain.h b/src/object/robotmain.h
index 525e5df..035698c 100644
--- a/src/object/robotmain.h
+++ b/src/object/robotmain.h
@@ -379,6 +379,9 @@ public:
CObject* GetSelect();
+ void DisplayError(Error err, CObject* pObj, float time=10.0f);
+ void DisplayError(Error err, Math::Vector goal, float height=15.0f, float dist=60.0f, float time=10.0f);
+
protected:
bool EventFrame(const Event &event);
bool EventObject(const Event &event);