26 lines
480 B
C++
26 lines
480 B
C++
/*
|
|
* Cover.h
|
|
*
|
|
* Created on: 12.08.2012
|
|
* Author: Felix
|
|
*/
|
|
|
|
#ifndef DG_COVER_H_
|
|
#define DG_COVER_H_
|
|
|
|
#include "../abstract/Sprite.h"
|
|
#include "../util/Yaml.h"
|
|
|
|
class Sprite;
|
|
class Yaml;
|
|
|
|
/**
|
|
* A wall that can be placed anywhere (not limited by tiles) and have any (rectangular) size.
|
|
*/
|
|
class Cover : public Sprite {
|
|
// Public functions.
|
|
public:
|
|
Cover(const Vector2f& position, const Vector2i& size, b2World& world, const Yaml& config);
|
|
};
|
|
|
|
#endif /* DG_COVER_H_ */
|