summaryrefslogtreecommitdiffstats
path: root/LevelObject.h
blob: 5dcdd74366f1d5ac2c0de19d6c5af2c1136930ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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;
    
    virtual void move(float x, float y) {}
};

#endif /*LEVELOBJECT_H_*/