Use the new notifiable system to scale the character.

This commit is contained in:
King_DuckZ 2014-03-20 11:46:20 +01:00
parent 85d57fd681
commit dbf29f13d1
10 changed files with 28 additions and 16 deletions

View file

@ -36,8 +36,8 @@ namespace cloonel {
void Reload ( void );
void Destroy ( void ) noexcept;
bool IsLoaded ( void ) const { return nullptr != m_texture; }
void Render ( const float2& parPos ) const { Render(parPos, m_size); }
void Render ( const float2& parPos, const float2& parSize ) const;
void Render ( const float2& parPos, const float2& parScaling ) const { Render(parPos, m_size, parScaling); }
void Render ( const float2& parPos, const float2& parSize, const float2& parScaling ) const;
const SDLMain* SDLObject ( void ) const { return m_sdlmain; }
private: