summaryrefslogtreecommitdiff
path: root/src/cObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cObject.h')
-rw-r--r--src/cObject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cObject.h b/src/cObject.h
index 48e41a4..08594b3 100644
--- a/src/cObject.h
+++ b/src/cObject.h
@@ -49,9 +49,14 @@ public:
void setPosition(int _x, int _y);
/** Returns sObject with framebuffer and current position
+ * DEPRECATED
*/
sObject getObject();
+ /** Writes object to framebuffer with offset _cameraPosition
+ */
+ void write(cRender *_render, sPos _cameraPosition);
+
/** Called by cObjecthandler if cObject is clicked
*/
virtual void onClick(sPos _pos, unsigned int _button){}