From e9d27f488c8653967c9a5b86c94801367253444c Mon Sep 17 00:00:00 2001 From: neoraider Date: Sun, 13 Jan 2008 16:41:01 +0000 Subject: zoomedit: Added grab tool. --- PlayerStart.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'PlayerStart.h') 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_*/ -- cgit v1.2.3