C# Class OpenRA.Mods.Common.Warheads.CreateEffectWarhead

Inheritance: Warhead
Show file Open project: OpenRA/OpenRA

Public Methods

Method Description
DoImpact ( Target target, Actor firedBy, IEnumerable damageModifiers ) : void
GetDirectHit ( World world, CPos cell, WPos pos, Actor firedBy, bool checkTargetType = false ) : bool
GetImpactType ( World world, CPos cell, WPos pos, Actor firedBy ) : ImpactType
IsValidImpact ( WPos pos, Actor firedBy ) : bool

Method Details

DoImpact() public method

public DoImpact ( Target target, Actor firedBy, IEnumerable damageModifiers ) : void
target OpenRA.Traits.Target
firedBy Actor
damageModifiers IEnumerable
return void

GetDirectHit() public method

public GetDirectHit ( World world, CPos cell, WPos pos, Actor firedBy, bool checkTargetType = false ) : bool
world World
cell CPos
pos WPos
firedBy Actor
checkTargetType bool
return bool

GetImpactType() public method

public GetImpactType ( World world, CPos cell, WPos pos, Actor firedBy ) : ImpactType
world World
cell CPos
pos WPos
firedBy Actor
return ImpactType

IsValidImpact() public method

public IsValidImpact ( WPos pos, Actor firedBy ) : bool
pos WPos
firedBy Actor
return bool