gusimplewhiteboard
guWhiteboard::Motions::Action_Transition Struct Reference

Internal struct for representing a motion 'Action' such as Kicking. More...

#include <MOTION_Interface.hpp>

Collaboration diagram for guWhiteboard::Motions::Action_Transition:

Public Member Functions

 Action_Transition (action a=Kneeling_wave, stance s=Kneeling_stance, int cost=1)
 Constructor. More...
 

Public Attributes

action _a
 the action to be performed, somehow this is 'not really needed here', I can't remember why. More...
 
stance _s
 the stance required to perform the action More...
 
int _cost
 how long this will take More...
 
std::string _name
 the string name of the action More...
 

Detailed Description

Internal struct for representing a motion 'Action' such as Kicking.

Definition at line 170 of file MOTION_Interface.hpp.

Constructor & Destructor Documentation

◆ Action_Transition()

guWhiteboard::Motions::Action_Transition::Action_Transition ( action  a = Kneeling_wave,
stance  s = Kneeling_stance,
int  cost = 1 
)
inline

Constructor.

Definition at line 177 of file MOTION_Interface.hpp.

Member Data Documentation

◆ _a

action guWhiteboard::Motions::Action_Transition::_a

the action to be performed, somehow this is 'not really needed here', I can't remember why.

Definition at line 172 of file MOTION_Interface.hpp.

◆ _cost

int guWhiteboard::Motions::Action_Transition::_cost

how long this will take

Definition at line 174 of file MOTION_Interface.hpp.

Referenced by guWhiteboard::MOTION_Commands::DoAction().

◆ _name

std::string guWhiteboard::Motions::Action_Transition::_name

the string name of the action

Definition at line 175 of file MOTION_Interface.hpp.

◆ _s

stance guWhiteboard::Motions::Action_Transition::_s

the stance required to perform the action

Definition at line 173 of file MOTION_Interface.hpp.

Referenced by guWhiteboard::MOTION_Commands::DoAction().


The documentation for this struct was generated from the following file: