16 lines
290 B
C++
16 lines
290 B
C++
#ifndef LEVELOBJECT_H_
|
|
#define LEVELOBJECT_H_
|
|
|
|
#include "Object.h"
|
|
#include "Vertex.h"
|
|
|
|
|
|
class LevelObject : public Object {
|
|
public:
|
|
virtual ~LevelObject() {}
|
|
|
|
virtual bool hit(const Vertex &v) const = 0;
|
|
virtual int getPriority() const = 0;
|
|
};
|
|
|
|
#endif /*LEVELOBJECT_H_*/
|