Hummingbird Framework
 All Classes Functions Variables Modules Pages
Rect.h
1 #ifndef HB_RECT_H
2 #define HB_RECT_H
3 #include <string>
4 #include <SFML/Graphics.hpp>
5 #include "../Core/Vector2d.h"
6 
7 namespace hb
8 {
13  class Rect : public sf::Rect<double>
14  {
15  public:
16  Rect();
17  Rect(double rectLeft, double rectTop, double rectWidth, double rectHeight);
18  Rect(const std::string& str);
19  Rect(const Vector2d &position, const Vector2d &size);
20  ~Rect();
21 
22  };
23 }
24 #endif
Definition: Rect.h:13
Definition: Box2DPlugin.h:6
A 2D vector.
Definition: Vector2d.h:14