1#ifndef YAZE_APP_ZELDA3_SPRITE_SPRITE_BUILDER_H_
2#define YAZE_APP_ZELDA3_SPRITE_SPRITE_BUILDER_H_
88 "!DeflectProjectiles",
100 const std::string& value);
117 std::string
Build()
const;
static SpriteAction Create()
SpriteAction & AddInstruction(const SpriteInstruction &instruction)
SpriteAction & SetNextAction(const std::string &nextActionName)
std::string GetConfiguration() const
std::vector< std::string > instructions
SpriteAction & AddCustomInstruction(const std::string &asmCode)
SpriteBuilder & AddFunction(const std::string &asmCode)
std::string BuildProperties() const
SpriteAction globalAction
std::vector< SpriteAction > actions
std::vector< SpriteAction > functions
SpriteBuilder & SetGlobalAction(const SpriteAction &action)
std::array< std::string, 27 > properties
static SpriteBuilder Create(const std::string &spriteName)
SpriteBuilder & AddAction(const SpriteAction &action)
std::string Build() const
SpriteBuilder & SetProperty(const std::string &propertyName, const std::string &value)
static SpriteInstruction PlayAnimation(int startFrame, int endFrame, int speed)
static SpriteInstruction CheckDamageFromPlayer()
static SpriteInstruction BounceFromTileCollision()
static SpriteInstruction Custom(const std::string &asmCode)
static SpriteInstruction MoveXyz()
static SpriteInstruction SetTimer(int timerId, int value)
void SetConfiguration(const std::string &instruction)
static SpriteInstruction ApplySpeedTowardsPlayer(int speed)
std::string GetConfiguration() const
static SpriteInstruction JumpToFunction(const std::string &functionName)
static SpriteInstruction BehaveAsBarrier()
constexpr const char * kSpriteProperties[]