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

@ -4,16 +4,24 @@
#include "vector.hpp"
namespace cloonel {
class Mover;
class Placeable {
public:
const float2& GetPos ( void ) const noexcept { return m_pos; }
void AddOffset ( const float2& parOffset ) noexcept { m_pos += parOffset; }
void SwapMover ( Mover* parMover );
protected:
Placeable ( float parX, float parY );
~Placeable ( void ) noexcept = default;
float2 m_pos;
private:
Mover* m_mover;
int m_idForMover;
};
} //namespace cloonel