aa6df65e97
Also created Rectangle/Circle subclasses for sprite to handle collision detection and moved collision detection from World to CollisionModel (static methods).
21 lines
309 B
C++
21 lines
309 B
C++
/*
|
|
* Corpse.h
|
|
*
|
|
* Created on: 13.09.2012
|
|
* Author: Felix
|
|
*/
|
|
|
|
#ifndef DG_CORPSE_H_
|
|
#define DG_CORPSE_H_
|
|
|
|
#include "../abstract/Circle.h"
|
|
|
|
class Corpse : public Circle {
|
|
public:
|
|
explicit Corpse(const sf::Vector2f& position);
|
|
|
|
private:
|
|
static const std::string CONFIG;
|
|
};
|
|
|
|
#endif /* DG_CORPSE_H_ */
|