C# Class Engineer.VesselSimulator.ResourceContainer

Exibir arquivo Open project: CYBUTEK/Engineer Class Usage Examples

Public Methods

Method Description
Add ( int type, double amount ) : void
Debug ( ) : void
EmptyOf ( HashSet types ) : bool
GetResourceDensity ( int type ) : float
GetResourceFlowMode ( int type ) : ResourceFlowMode
GetResourceMass ( int type ) : double
GetResourceName ( int type ) : string
GetResourceTransferMode ( int type ) : ResourceTransferMode
HasType ( int type ) : bool
Reset ( ) : void
this ( int type ) : double

Method Details

Add() public method

public Add ( int type, double amount ) : void
type int
amount double
return void

Debug() public method

public Debug ( ) : void
return void

EmptyOf() public method

public EmptyOf ( HashSet types ) : bool
types HashSet
return bool

GetResourceDensity() public static method

public static GetResourceDensity ( int type ) : float
type int
return float

GetResourceFlowMode() public static method

public static GetResourceFlowMode ( int type ) : ResourceFlowMode
type int
return ResourceFlowMode

GetResourceMass() public method

public GetResourceMass ( int type ) : double
type int
return double

GetResourceName() public static method

public static GetResourceName ( int type ) : string
type int
return string

GetResourceTransferMode() public static method

public static GetResourceTransferMode ( int type ) : ResourceTransferMode
type int
return ResourceTransferMode

HasType() public method

public HasType ( int type ) : bool
type int
return bool

Reset() public method

public Reset ( ) : void
return void

this() public method

public this ( int type ) : double
type int
return double