MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / GroupCommandObject

Class GroupCommandObject

Source/GroupCommandObject.h:24–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include "2d/ActionTween.h"
23
24class GroupCommandObject : public ax::Node, public ax::ActionTweenDelegate
25{
26 public:
27 ax::Point _oldPos;
28 ax::Point _currentOffset;
29 ax::Point _newPos;
30 ax::Point _unkPoint;
31 ax::Point _finalPoint;
32
33 int _groupID;
34 int _actionID;
35
36 float _elapsed, _duration, _delta1, _delta2;
37
38 bool _followPlayerX, _followPlayerY;
39 bool _actionDone, _actionDoneForNextLoop;
40
41 ax::Action *_action1, *_action2;
42
43 void runMoveCommand(float duration, ax::Point offsetPos, int easeType, float easeAmt);
44 void step(float dt);
45 virtual void updateTweenAction(float value, std::string_view key) override;
46
47 static GroupCommandObject *create();
48};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected