summaryrefslogtreecommitdiffstats
path: root/PlayerStart.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-01-13 17:41:01 +0100
committerneoraider <devnull@localhost>2008-01-13 17:41:01 +0100
commite9d27f488c8653967c9a5b86c94801367253444c (patch)
tree53ec6178eb84759ab992e3d41c40625c9fc76166 /PlayerStart.h
parent017743d3397b810176278814ed19a92ce9c2f251 (diff)
downloadzoomedit-e9d27f488c8653967c9a5b86c94801367253444c.tar
zoomedit-e9d27f488c8653967c9a5b86c94801367253444c.zip
zoomedit: Added grab tool.
Diffstat (limited to 'PlayerStart.h')
-rw-r--r--PlayerStart.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/PlayerStart.h b/PlayerStart.h
index dbae78c..d5c10cd 100644
--- a/PlayerStart.h
+++ b/PlayerStart.h
@@ -16,6 +16,11 @@ class PlayerStart : public Vertex3d, public LevelObject {
virtual const char* getType() const {
return "PlayerStart";
}
+
+ virtual void move(float x, float y) {
+ setX(getX()+x);
+ setZ(getZ()+y);
+ }
};
#endif /*PLAYERSTART_H_*/