00001
00011 #ifndef __Rectangle_H__
00012 #define __Rectangle_H__
00013
00014
00015 #include "Sprite.h"
00016
00017
00018
00019
00020
00021 class Rectangle:public Sprite
00022 {
00023 public:
00024 Rectangle();
00025
00026 Rectangle(SpriteManager* spriteManager);
00027
00028 virtual ~Rectangle();
00029
00030 virtual void SetSize(float width, float height);
00031 virtual void SetWidth(float width);
00032 virtual void SetHeight(float height);
00033 virtual float GetWidth() const;
00034 virtual float GetHeight() const;
00035
00036 private:
00037 virtual void Render(Bitmap& bitmap);
00038
00039
00040 private:
00041 float width_;
00042 float height_;
00043
00044 };
00045
00046 #endif
00047