34 #include "crab/animation/animframe.h" 38 namespace pyrodactyl {
42 Rect _val[DIRECTION_TOTAL];
48 void load(rapidxml::xml_node<char> *node) {
49 if (nodeValid(node,
false)) {
50 _val[DIRECTION_DOWN].load(node->first_node(
"down"));
51 _val[DIRECTION_UP].load(node->first_node(
"up"));
52 _val[DIRECTION_LEFT].load(node->first_node(
"left"));
53 _val[DIRECTION_RIGHT].load(node->first_node(
"right"));
65 #endif // CRAB_RANGE_H Definition: Rectangle.h:42
Definition: moveeffect.h:37