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

Class GroupColorAction

Source/GroupColorAction.h:7–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "BaseGameLayer.h"
6
7class GroupColorAction : public ax::ActionInterval
8{
9 private:
10 ax::Color3B _from, _to;
11 GroupProperties* _target;
12
13 float _deltar, _deltag, _deltab;
14
15 bool _resetGroupState = false;
16
17 public:
18 static GroupColorAction* create(float duration, GroupProperties* target, ax::Color3B from, ax::Color3B to, bool resetGroupState);
19
20 void startWithTarget(ax::Node* target) override;
21 void update(float dt) override;
22
23 bool initWithDuration(float duration, GroupProperties* target, ax::Color3B from, ax::Color3B to, bool resetGroupState);
24};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected