C# 클래스 Engineer.VesselSimulator.ResourceContainer

파일 보기 프로젝트 열기: CYBUTEK/Engineer 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Add() 공개 메소드

public Add ( int type, double amount ) : void
type int
amount double
리턴 void

Debug() 공개 메소드

public Debug ( ) : void
리턴 void

EmptyOf() 공개 메소드

public EmptyOf ( HashSet types ) : bool
types HashSet
리턴 bool

GetResourceDensity() 공개 정적인 메소드

public static GetResourceDensity ( int type ) : float
type int
리턴 float

GetResourceFlowMode() 공개 정적인 메소드

public static GetResourceFlowMode ( int type ) : ResourceFlowMode
type int
리턴 ResourceFlowMode

GetResourceMass() 공개 메소드

public GetResourceMass ( int type ) : double
type int
리턴 double

GetResourceName() 공개 정적인 메소드

public static GetResourceName ( int type ) : string
type int
리턴 string

GetResourceTransferMode() 공개 정적인 메소드

public static GetResourceTransferMode ( int type ) : ResourceTransferMode
type int
리턴 ResourceTransferMode

HasType() 공개 메소드

public HasType ( int type ) : bool
type int
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

this() 공개 메소드

public this ( int type ) : double
type int
리턴 double