diff options
Diffstat (limited to 'LevelObject.h')
-rw-r--r-- | LevelObject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LevelObject.h b/LevelObject.h index 6ab93a4..d7dbf4f 100644 --- a/LevelObject.h +++ b/LevelObject.h @@ -11,6 +11,7 @@ class LevelObject { virtual const char* getType() const = 0; virtual bool hit(const Vertex &v) const = 0; + virtual int getPriority() const = 0; bool isOfType(const char *type) const { return (std::strcmp(getType(), type) == 0); |