diff options
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_*/ |