Quantum Engineering
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | List of all members
ModMachine Class Reference
Inheritance diagram for ModMachine:
BasicMachine Machine

Public Member Functions

new void Start ()
 Called by unity engine on start up to initialize variables. More...
 
override void UpdateMachine ()
 Called by MachineManager update coroutine. More...
 
- Public Member Functions inherited from BasicMachine
void Start ()
 Called by unity engine on start up to initialize variables. More...
 

Static Public Member Functions

static IEnumerator GetAudioFile (ModMachine machine, AudioSource source, string machineName)
 Loads sound files. More...
 

Public Attributes

string machineName
 
bool init
 
- Public Attributes inherited from BasicMachine
float amount
 
int address
 
int speed = 1
 
int power
 
int heat
 
int cooling
 
int connectionAttempts
 
string inputType
 
string outputType
 
string ID = "unassigned"
 
string creationMethod = "built"
 
string inputID
 
string outputID
 
bool connectionFailed
 
bool hasHeatExchanger
 
bool powerON
 
GameObject inputObject
 
GameObject outputObject
 
GameObject powerObject
 
ConduitItem conduitItem
 
Material lineMat
 
PowerReceiver powerReceiver
 
BasicMachineRecipe [] recipes
 
StateManager stateManager
 
bool hasCustomSound
 

Private Attributes

Material material
 
PlayerController playerController
 
GameManager gameManager
 
Coroutine modSoundCoroutine
 

Member Function Documentation

◆ GetAudioFile()

static IEnumerator ModMachine.GetAudioFile ( ModMachine  machine,
AudioSource  source,
string  machineName 
)
inlinestatic

Loads sound files.

◆ Start()

new void ModMachine.Start ( )
inline

Called by unity engine on start up to initialize variables.

◆ UpdateMachine()

override void ModMachine.UpdateMachine ( )
inlinevirtual

Called by MachineManager update coroutine.

Reimplemented from BasicMachine.

Member Data Documentation

◆ gameManager

GameManager ModMachine.gameManager
private

◆ init

bool ModMachine.init

◆ machineName

string ModMachine.machineName

◆ material

Material ModMachine.material
private

◆ modSoundCoroutine

Coroutine ModMachine.modSoundCoroutine
private

◆ playerController

PlayerController ModMachine.playerController
private

The documentation for this class was generated from the following file: