C# Class OpenRA.Mods.Common.Projectiles.Missile

Inheritance: IProjectile, ISync
Datei anzeigen Open project: OpenRA/OpenRA

Public Methods

Method Description
Missile ( MissileInfo info, ProjectileArgs args ) : System
Render ( WorldRenderer wr ) : IEnumerable
Tick ( World world ) : void

Private Methods

Method Description
BisectionSearch ( int lowerBound, int upperBound, bool>.System testCriterion ) : int
ChangeSpeed ( int sign = 1 ) : void
DetermineLaunchSpeedAndAngle ( World world, int &speed, int &vFacing ) : void
DetermineLaunchSpeedAndAngleForIncline ( int predClfDist, int diffClfMslHgt, int relTarHorDist, int &speed, int &vFacing ) : void
Explode ( World world ) : void
FreefallTick ( ) : WVec
HomingInnerTick ( int predClfDist, int diffClfMslHgt, int relTarHorDist, int lastHtChg, int lastHt, int nxtRelTarHorDist, int relTarHgt, int vFacing, bool targetPassedBy ) : int
HomingTick ( World world, WVec tarDistVec, int relTarHorDist ) : WVec
InclineLookahead ( World world, int distCheck, int &predClfHgt, int &predClfDist, int &lastHtChg, int &lastHt ) : void
IncreaseAltitude ( int predClfDist, int diffClfMslHgt, int relTarHorDist, int vFacing ) : int
IsNearInclineTop ( int vFacing, int loopRadius, int predClfDist ) : bool
JammedBy ( TraitPair tp ) : bool
LoopRadius ( int speed, int rot ) : int
WillClimbAroundInclineTop ( int vFacing, int loopRadius, int predClfDist, int diffClfMslHgt, int speed ) : bool
WillClimbWithinDistance ( int vFacing, int loopRadius, int predClfDist, int diffClfMslHgt ) : bool

Method Details

Missile() public method

public Missile ( MissileInfo info, ProjectileArgs args ) : System
info MissileInfo
args OpenRA.GameRules.ProjectileArgs
return System

Render() public method

public Render ( WorldRenderer wr ) : IEnumerable
wr OpenRA.Graphics.WorldRenderer
return IEnumerable

Tick() public method

public Tick ( World world ) : void
world World
return void