31 #ifndef CRAB_ANIMATIONEFFECT_H 32 #define CRAB_ANIMATIONEFFECT_H 34 #include "crab/loaders.h" 38 namespace pyrodactyl {
60 uint32 _start, _finish;
67 _drawGame = DRAW_SAME;
73 if (nodeValid(
"effect", node)) {
74 rapidxml::xml_node<char> *effnode = node->first_node(
"effect");
75 loadNum(_start,
"start", effnode);
76 loadNum(_finish,
"finish", effnode);
79 loadStr(str,
"type", effnode);
82 else if (str ==
"fade_out")
87 loadStr(str,
"game_draw", effnode);
89 _drawGame = DRAW_START;
90 else if (str ==
"stop")
91 _drawGame = DRAW_STOP;
93 _drawGame = DRAW_SAME;
102 #endif // CRAB_ANIMATIONEFFECT_H
Definition: moveeffect.h:37
Definition: AnimationEffect.h:55