Xonotic
animation.qh
Go to the documentation of this file.
1 #pragma once
2 
4  METHOD(Animation, configureAnimation, void(Animation this, entity, void(entity, float), float, float, float, float));
5  METHOD(Animation, update, void(Animation this, float, float, float));
6  METHOD(Animation, setTimeStartEnd, void(Animation this, float, float));
7  METHOD(Animation, setTimeStartDuration, void(Animation this, float, float));
8  METHOD(Animation, setValueStartEnd, void(Animation this, float, float));
9  METHOD(Animation, setObjectSetter, void(Animation this, entity, void(entity, float)));
10  METHOD(Animation, tick, void(Animation this, float));
11  METHOD(Animation, calcValue, float(Animation this, float, float, float, float));
12  METHOD(Animation, isStopped, float(Animation this));
13  METHOD(Animation, stopAnim, void(Animation this));
14  METHOD(Animation, resumeAnim, void(Animation this));
15  METHOD(Animation, isFinished, float(Animation this));
16  METHOD(Animation, finishAnim, void(Animation this));
17  ATTRIB(Animation, object, entity);
18  void setterDummy(Animation this, float) {}
19  ATTRIB(Animation, setter, void(Animation this, float), setterDummy);
20  ATTRIB(Animation, value, float, 0);
21  ATTRIB(Animation, startTime, float, 0);
22  ATTRIB(Animation, duration, float, 0);
23  ATTRIB(Animation, startValue, float, 0);
24  ATTRIB(Animation, delta, float, 0);
25  ATTRIB(Animation, stopped, float, false);
26  ATTRIB(Animation, finished, float, false);
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
void setterDummy(Animation this, float)
Definition: animation.qh:18
#define ENDCLASS(cname)
Definition: oo.qh:269