diff options
author | neoraider <devnull@localhost> | 2008-01-13 17:41:01 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-01-13 17:41:01 +0100 |
commit | e9d27f488c8653967c9a5b86c94801367253444c (patch) | |
tree | 53ec6178eb84759ab992e3d41c40625c9fc76166 /PlayerStart.h | |
parent | 017743d3397b810176278814ed19a92ce9c2f251 (diff) | |
download | zoomedit-e9d27f488c8653967c9a5b86c94801367253444c.tar zoomedit-e9d27f488c8653967c9a5b86c94801367253444c.zip |
zoomedit: Added grab tool.
Diffstat (limited to 'PlayerStart.h')
-rw-r--r-- | PlayerStart.h | 5 |
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_*/ |