31 #ifndef CRAB_TRAITBUTTON_H 32 #define CRAB_TRAITBUTTON_H 34 #include "crab/people/trait.h" 35 #include "crab/ui/StateButton.h" 39 namespace pyrodactyl {
55 void init(
const TraitButton &ref,
const int &xOffset = 0,
const int &yOffset = 0);
56 void load(rapidxml::xml_node<char> *node,
const bool &echo =
true);
58 void draw(
const int &xOffset = 0,
const int &yOffset = 0,
Rect *clip =
nullptr);
68 #endif // CRAB_TRAITBUTTON_H
Definition: Rectangle.h:42
Definition: moveeffect.h:37