#include <sprite_builder.h>
Public Member Functions | |
SpriteBuilder & | SetProperty (const std::string &propertyName, const std::string &value) |
SpriteBuilder & | SetProperty (const std::string &propertyName, int value) |
SpriteBuilder & | SetProperty (const std::string &propertyName, bool value) |
SpriteBuilder & | AddAction (const SpriteAction &action) |
SpriteBuilder & | SetGlobalAction (const SpriteAction &action) |
SpriteBuilder & | AddFunction (const std::string &asmCode) |
SpriteBuilder & | AddFunction (const SpriteAction &action) |
std::string | BuildProperties () const |
std::string | Build () const |
Static Public Member Functions | |
static SpriteBuilder | Create (const std::string &spriteName) |
Private Attributes | |
std::string | name |
std::array< std::string, 27 > | properties |
std::vector< SpriteAction > | actions |
SpriteAction | globalAction |
std::vector< SpriteAction > | functions |
Definition at line 93 of file sprite_builder.h.
|
static |
Definition at line 10 of file sprite_builder.cc.
Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::SetProperty | ( | const std::string & | propertyName, |
const std::string & | value ) |
Definition at line 16 of file sprite_builder.cc.
Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::SetProperty | ( | const std::string & | propertyName, |
int | value ) |
Definition at line 21 of file sprite_builder.cc.
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::SetProperty | ( | const std::string & | propertyName, |
bool | value ) |
Definition at line 26 of file sprite_builder.cc.
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::AddAction | ( | const SpriteAction & | action | ) |
Definition at line 31 of file sprite_builder.cc.
Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::SetGlobalAction | ( | const SpriteAction & | action | ) |
Definition at line 35 of file sprite_builder.cc.
Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::AddFunction | ( | const std::string & | asmCode | ) |
Definition at line 43 of file sprite_builder.cc.
Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().
SpriteBuilder & yaze::app::zelda3::SpriteBuilder::AddFunction | ( | const SpriteAction & | action | ) |
Definition at line 39 of file sprite_builder.cc.
std::string yaze::app::zelda3::SpriteBuilder::BuildProperties | ( | ) | const |
Definition at line 47 of file sprite_builder.cc.
References yaze::app::zelda3::kSpriteProperties, and properties.
Referenced by Build().
std::string yaze::app::zelda3::SpriteBuilder::Build | ( | ) | const |
Definition at line 58 of file sprite_builder.cc.
References BuildProperties().
|
private |
Definition at line 120 of file sprite_builder.h.
|
private |
Definition at line 121 of file sprite_builder.h.
Referenced by BuildProperties().
|
private |
Definition at line 122 of file sprite_builder.h.
|
private |
Definition at line 123 of file sprite_builder.h.
|
private |
Definition at line 124 of file sprite_builder.h.