This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/LevelObject.h

19 lines
338 B
C
Raw Normal View History

#ifndef LEVELOBJECT_H_
#define LEVELOBJECT_H_
2007-12-14 22:03:00 +00:00
#include "Object.h"
#include "Vertex.h"
2007-12-14 22:03:00 +00:00
class LevelObject : public Object {
public:
virtual ~LevelObject() {}
virtual bool hit(const Vertex &v) const = 0;
virtual int getPriority() const = 0;
2008-01-13 16:41:01 +00:00
virtual void move(float x, float y) {}
};
#endif /*LEVELOBJECT_H_*/