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

Method initWithDuration

Source/GroupColorAction.cpp:17–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17bool GroupColorAction::initWithDuration(float duration, GroupProperties* target, ax::Color3B from, ax::Color3B to, bool resetGroupState)
18{
19 if (ActionInterval::initWithDuration(duration))
20 {
21 _resetGroupState = resetGroupState;
22 _target = target;
23 _to = to;
24 _from = from;
25 return true;
26 }
27
28 return false;
29}
30
31void GroupColorAction::startWithTarget(ax::Node* target)
32{

Callers 1

createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected