PNG loading and major refactoring.

PNG loading is not working properly yet.
This commit is contained in:
King_DuckZ 2014-02-21 21:51:56 +01:00
parent d0893cba3a
commit 28bd73a1f7
17 changed files with 254 additions and 43 deletions

View file

@ -35,4 +35,11 @@ namespace cloonel {
void Character::Destroy() noexcept {
m_texture->Destroy();
}
///-------------------------------------------------------------------------
///-------------------------------------------------------------------------
void Character::Draw() const {
const int2 pos(m_pos + 0.5f);
m_texture->Render(pos);
}
} //namespace cloonel