C# Class OpenRA.Mods.Common.Traits.BodyOrientationInfo

Inheritance: ITraitInfo
ファイルを表示 Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
Create ( ActorInitializer init ) : object
LocalToWorld ( WVec vec ) : WVec
QuantizeFacing ( int facing, int facings ) : int
QuantizeOrientation ( WRot orientation, int facings ) : WRot

Method Details

Create() public method

public Create ( ActorInitializer init ) : object
init ActorInitializer
return object

LocalToWorld() public method

public LocalToWorld ( WVec vec ) : WVec
vec WVec
return WVec

QuantizeFacing() public method

public QuantizeFacing ( int facing, int facings ) : int
facing int
facings int
return int

QuantizeOrientation() public method

public QuantizeOrientation ( WRot orientation, int facings ) : WRot
orientation WRot
facings int
return WRot