Avionics
Dropship Simulator
Combustion.cpp
Go to the documentation of this file.
1
#include "../../Component.h"
2
3
namespace
Systems
4
{
5
void
Combustion::FrameMove
(
double
fTime)
6
{
7
// double elapsed = (fTime - lastTimeProcessed) / 60 / 60;
8
lastTimeProcessed
= fTime;
9
13
currentState
=
setState
;
14
16
//serviceLifeRemaining -= fTime / 60.0 / 60.0*setState;
17
//temperature += fTime * setState;
18
}
19
}
Systems::Component::currentState
float currentState
Definition:
Component.h:52
Systems::Component::setState
float setState
Definition:
Component.h:51
Systems
These have to be in this order.
Definition:
BaseComponent.h:12
Systems::Component::lastTimeProcessed
double lastTimeProcessed
these don't get stored anywhere
Definition:
Component.h:55
Systems::Combustion::FrameMove
void FrameMove(double fTime) override
this is a generic unimplemented component framemove, eventually make a pure virtual function...
Definition:
Combustion.cpp:5
Systems
Propulsion
Combustion.cpp
Generated on Sat Feb 13 2021 09:30:43 for Avionics by
1.8.14