C# Class Evolution_War.Bullet

Inheritance: MovingObject
ファイルを表示 Open project: jonathandlo/Evolution_War Class Usage Examples

Public Properties

Property Type Description
OwnerGun Gun

Protected Properties

Property Type Description
bulletMesh Entity
colorIndex System.Int32
expirationFrames System.Int32
framesAlive System.Int32
trail Trail

Public Methods

Method Description
Bullet ( Controller pController, Gun pOwnerGun, Int32 pColorIndex ) : System
CreateTrail ( ) : void
Recycle ( ) : void
Reinitialize ( Controller pController, Gun pOwnerGun, Int32 pColorIndex ) : void
SetLaunchParameters ( Vector3 pPosition, Vector3 pVelocity, Double pAngleDegrees, Double pAngledOffset, Double pSpeed ) : void

Protected Methods

Method Description
LoopCollisionPhysics ( ) : void
LoopControlPhysics ( ) : void
LoopFrictionPhysics ( ) : void

Method Details

Bullet() public method

public Bullet ( Controller pController, Gun pOwnerGun, Int32 pColorIndex ) : System
pController Controller
pOwnerGun Gun
pColorIndex System.Int32
return System

CreateTrail() public method

public CreateTrail ( ) : void
return void

LoopCollisionPhysics() protected method

protected LoopCollisionPhysics ( ) : void
return void

LoopControlPhysics() protected method

protected LoopControlPhysics ( ) : void
return void

LoopFrictionPhysics() protected method

protected LoopFrictionPhysics ( ) : void
return void

Recycle() public method

public Recycle ( ) : void
return void

Reinitialize() public method

public Reinitialize ( Controller pController, Gun pOwnerGun, Int32 pColorIndex ) : void
pController Controller
pOwnerGun Gun
pColorIndex System.Int32
return void

SetLaunchParameters() public method

public SetLaunchParameters ( Vector3 pPosition, Vector3 pVelocity, Double pAngleDegrees, Double pAngledOffset, Double pSpeed ) : void
pPosition Vector3
pVelocity Vector3
pAngleDegrees Double
pAngledOffset Double
pSpeed Double
return void

Property Details

OwnerGun public_oe property

public Gun,Evolution_War OwnerGun
return Gun

bulletMesh protected_oe property

protected Entity bulletMesh
return Entity

colorIndex protected_oe property

protected Int32,System colorIndex
return System.Int32

expirationFrames protected_oe property

protected Int32,System expirationFrames
return System.Int32

framesAlive protected_oe property

protected Int32,System framesAlive
return System.Int32

trail protected_oe property

protected Trail,Evolution_War trail
return Trail