RTS2D
include/algorithm/Rect.h
00001 #ifndef RECTANGLE_H
00002 #define RECTANGLE_H
00003 
00007 class Rect {
00008 public:
00009     Rect(float x, float y, float width, float height);
00010     virtual ~Rect();
00011     float getX();
00012     float getY();
00013     float getWidth();
00014     float getHeight();
00015 
00016 protected:
00017 private:
00018     float x_;
00019     float y_;
00020     float width_;
00021     float height_;
00022 };
00023 
00024 #endif // RECTANGLE_H
 Todos Classes Funções