#include <command.h>
Inheritance diagram for CommandChangeDistance:


Public Member Functions | |
| CommandChangeDistance (double duration, double rate) | |
| void | process (ExecutionEnvironment &, double t, double dt) |
Private Attributes | |
| double | rate |
|
||||||||||||
|
Definition at line 354 of file command.cpp. 00354 : 00355 TimedCommand(_duration), 00356 rate(_rate) 00357 { 00358 }
|
|
||||||||||||||||
|
Implements Command. Definition at line 360 of file command.cpp. References rate. 00361 {
00362 env.getSimulation()->changeOrbitDistance((float) (rate * dt));
00363 }
|
|
|
Definition at line 309 of file command.h. Referenced by process(). |
1.4.1