diff options
author | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
commit | 356efaf89afdad141b313767e1a2b89de3c08d0a (patch) | |
tree | 37edb2a0fc0ea15f4f60e45ed411cbea7b4c12c5 /PlayerStart.h | |
parent | 258eb984bafe0f667d1e76de61c8afaa23f39ef4 (diff) | |
download | zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.tar zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.zip |
zoomedit: Recreated ZoomEdit based on Glademm.
Diffstat (limited to 'PlayerStart.h')
-rw-r--r-- | PlayerStart.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/PlayerStart.h b/PlayerStart.h deleted file mode 100644 index 8b08274..0000000 --- a/PlayerStart.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef PLAYERSTART_H_ -#define PLAYERSTART_H_ - -#include "LevelObject.h" -#include "Vertex3d.h" - - -class PlayerStart : public Vertex3d, public LevelObject { - public: - virtual bool hit(const Vertex &v) const { - return (v.distanceSq(Vertex(getX(), getZ())) < 0.09); - } - - virtual int getPriority() const {return 10;} - - virtual const char* getType() const { - return "PlayerStart"; - } - - virtual bool canMove() const {return true;} - - virtual void move(float x, float y) { - setX(getX()+x); - setZ(getZ()+y); - } -}; - -#endif /*PLAYERSTART_H_*/ |