This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
2012-09-09 20:50:15 +00:00
|
|
|
/*
|
|
|
|
* Cover.h
|
|
|
|
*
|
|
|
|
* Created on: 12.08.2012
|
|
|
|
* Author: Felix
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DG_COVER_H_
|
|
|
|
#define DG_COVER_H_
|
|
|
|
|
|
|
|
#include "../abstract/Sprite.h"
|
2012-10-12 17:34:07 +00:00
|
|
|
#include "../util/Yaml.h"
|
2012-09-09 20:50:15 +00:00
|
|
|
|
2012-09-14 18:39:56 +00:00
|
|
|
class Sprite;
|
2012-10-12 17:34:07 +00:00
|
|
|
class Yaml;
|
2012-09-14 18:39:56 +00:00
|
|
|
|
2012-09-09 20:50:15 +00:00
|
|
|
/**
|
|
|
|
* A wall that can be placed anywhere (not limited by tiles) and have any (rectangular) size.
|
|
|
|
*/
|
|
|
|
class Cover : public Sprite {
|
2012-09-16 18:45:12 +00:00
|
|
|
// Public functions.
|
2012-09-09 20:50:15 +00:00
|
|
|
public:
|
2012-10-12 17:34:07 +00:00
|
|
|
Cover(const Vector2f& position, const Vector2i& size, b2World& world, const Yaml& config);
|
2012-09-09 20:50:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* DG_COVER_H_ */
|