resonance 1.0.1
Loading...
Searching...
No Matches
tnlarms.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "app/tnlemitter.h"
6
7namespace Rnd {
8class Drawable;
9class View;
10} // namespace Rnd
11
27class TnlArms {
28public:
36
46 void Start(float flFrame);
47
58 void SetFrame(float flFrame);
59
70 void AttachTo(Rnd::Drawable *pParent);
71
72private:
73 float mStartFrame; // Trigger frame, 1e9 when idle.
74 Rnd::View *mView; // "arms.view".
75 std::vector<TnlEmitter> mEmitters;
76};
Mix-in for an object that draws itself and then a list of other drawables.
Definition drawable.h:32
Root of a loadable scene.
Definition view.h:47
void SetFrame(float flFrame)
Drive the view to flFrame and end the burst on schedule.
TnlArms()
Resolve the view and the three systems.
void AttachTo(Rnd::Drawable *pParent)
Draw the arms in a view, ahead of the tunnel.
void Start(float flFrame)
Show the view and restart the systems from flFrame.
The rendering engine.
Definition animhelper.h:3