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

@ -23,6 +23,7 @@
#include "placeable.hpp"
#include "drawable.hpp"
#include "vector.hpp"
#include "sizenotifiable.hpp"
#include <string>
#include <memory>
@ -41,6 +42,9 @@ namespace cloonel {
virtual void Draw ( void ) const;
private:
SizeNotifiable m_screenRatio;
size_t m_screenRatioID;
SDLMain* const m_sdlmain;
const std::unique_ptr<Texture> m_texture;
};
} //unnamed namespace