New code, WiP.

New Path, Character and other simple classes, but a renderer is missing so now nothing gets displayed anymore.
This commit is contained in:
King_DuckZ 2014-02-12 00:27:55 +01:00
parent 8b11e76835
commit bcc0937726
13 changed files with 179 additions and 27 deletions

26
src/character.hpp Normal file
View file

@ -0,0 +1,26 @@
#ifndef id0CEACFB045ED4C9F8688265AA41E30B0
#define id0CEACFB045ED4C9F8688265AA41E30B0
#include "placeable.hpp"
#include "vector.hpp"
#include <string>
#include <memory>
namespace cloonel {
class SDLMain;
class Texture;
class Character : public Placeable {
public:
Character ( const std::string& parPath, SDLMain* parMain );
~Character ( void ) noexcept;
void Prepare ( void );
void Destroy ( void ) noexcept;
private:
const std::unique_ptr<Texture> m_texture;
};
} //unnamed namespace
#endif