C# Class Engineer.VesselSimulator.ResourceContainer

Afficher le fichier Open project: CYBUTEK/Engineer Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Add ( int type, double amount ) : void
type int
amount double
Résultat void

Debug() public méthode

public Debug ( ) : void
Résultat void

EmptyOf() public méthode

public EmptyOf ( HashSet types ) : bool
types HashSet
Résultat bool

GetResourceDensity() public static méthode

public static GetResourceDensity ( int type ) : float
type int
Résultat float

GetResourceFlowMode() public static méthode

public static GetResourceFlowMode ( int type ) : ResourceFlowMode
type int
Résultat ResourceFlowMode

GetResourceMass() public méthode

public GetResourceMass ( int type ) : double
type int
Résultat double

GetResourceName() public static méthode

public static GetResourceName ( int type ) : string
type int
Résultat string

GetResourceTransferMode() public static méthode

public static GetResourceTransferMode ( int type ) : ResourceTransferMode
type int
Résultat ResourceTransferMode

HasType() public méthode

public HasType ( int type ) : bool
type int
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

this() public méthode

public this ( int type ) : double
type int
Résultat double