Avionics
Dropship Simulator
BaseComponent.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <WinSock2.h>
5 #include <Windows.h>
6 #include <WS2tcpip.h>
7 #include "DXUT.h" // for D3DXVECTOR3
8 
9 #include "Enumerations.h"
10 #include <string>
11 
12 namespace Systems
13 {
15  {
16  public:
17  GUID guid;
18  std::string guidStr;
19 
21  D3DXVECTOR3 location; // we don't care about size or orientation at this point
22 
27 
28  int hpPhysical; // for connectors this is generalized per system
29  int hpEnergy; // for connectors this is generalized per system
30  float hpPhysicalRemaining; // no one gets to know this?
31  float hpEnergyRemaining; // no one gets to know this?
32 
33  Fault fault = Fault::NoSignal; // signal fault for data, leak for pumps/reservoirs, smoke/fire?
34  };
35 }
float propogatedLoad
propogated demand
Definition: BaseComponent.h:26
These have to be in this order.
Definition: BaseComponent.h:12
float capacityPressureEtc
propogated supply
Definition: BaseComponent.h:24