00001 #ifndef OSDL_SPRITE_H_
00002 #define OSDL_SPRITE_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "Ceylan.h"
00022
00023
00024 #include <string>
00025
00026
00027
00028 namespace OSDL
00029 {
00030
00031
00032 namespace Engine
00033 {
00034
00035 class BoundingBox2D ;
00036
00037 }
00038
00039
00040 namespace Rendering
00041 {
00042
00043
00044
00050 class OSDL_DLL Sprite : public Ceylan::View
00051 {
00052
00053
00054 public:
00055
00056
00065 explicit Sprite( bool ownBoundingBox = true ) throw() ;
00066
00067
00072 virtual ~Sprite() throw() ;
00073
00074
00086 virtual const std::string toString(
00087 Ceylan::VerbosityLevels level = Ceylan::high )
00088 const throw() ;
00089
00090
00091
00092 protected:
00093
00094
00109 bool _ownBoundingBox ;
00110
00111
00120 Engine::BoundingBox2D * _box ;
00121
00122
00123
00124 private:
00125
00126
00135 Sprite( const Sprite & source ) throw() ;
00136
00137
00146 Sprite & operator = ( const Sprite & source ) throw() ;
00147
00148 } ;
00149
00150 }
00151
00152 }
00153
00154
00155 #endif // OSDL_SPRITE_H_
00156