yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::zelda3::SpriteAction Class Reference

#include <sprite_builder.h>

Public Member Functions

SpriteActionAddInstruction (const SpriteInstruction &instruction)
 
SpriteActionAddCustomInstruction (const std::string &asmCode)
 
SpriteActionSetNextAction (const std::string &nextActionName)
 
std::string GetConfiguration () const
 

Static Public Member Functions

static SpriteAction Create (const std::string &actionName)
 
static SpriteAction Create ()
 

Private Attributes

std::string name
 
std::vector< std::string > instructions
 
std::string nextAction
 

Detailed Description

Definition at line 38 of file sprite_builder.h.

Member Function Documentation

◆ Create() [1/2]

SpriteAction yaze::app::zelda3::SpriteAction::Create ( const std::string & actionName)
static

Definition at line 66 of file sprite_builder.cc.

◆ Create() [2/2]

SpriteAction yaze::app::zelda3::SpriteAction::Create ( )
static

Definition at line 72 of file sprite_builder.cc.

Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().

◆ AddInstruction()

SpriteAction & yaze::app::zelda3::SpriteAction::AddInstruction ( const SpriteInstruction & instruction)

Definition at line 78 of file sprite_builder.cc.

Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().

◆ AddCustomInstruction()

SpriteAction & yaze::app::zelda3::SpriteAction::AddCustomInstruction ( const std::string & asmCode)

Definition at line 83 of file sprite_builder.cc.

Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().

◆ SetNextAction()

SpriteAction & yaze::app::zelda3::SpriteAction::SetNextAction ( const std::string & nextActionName)

Definition at line 87 of file sprite_builder.cc.

Referenced by yaze::test::zelda3::SpriteBuilderTest::SetUp().

◆ GetConfiguration()

std::string yaze::app::zelda3::SpriteAction::GetConfiguration ( ) const

Definition at line 91 of file sprite_builder.cc.

Member Data Documentation

◆ name

std::string yaze::app::zelda3::SpriteAction::name
private

Definition at line 59 of file sprite_builder.h.

◆ instructions

std::vector<std::string> yaze::app::zelda3::SpriteAction::instructions
private

Definition at line 60 of file sprite_builder.h.

◆ nextAction

std::string yaze::app::zelda3::SpriteAction::nextAction
private

Definition at line 61 of file sprite_builder.h.


The documentation for this class was generated from the following files: