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

Inheritance: Warhead
Afficher le fichier Open project: OpenRA/OpenRA

Méthodes publiques

Méthode 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 méthode

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

GetDirectHit() public méthode

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

GetImpactType() public méthode

public GetImpactType ( World world, CPos cell, WPos pos, Actor firedBy ) : ImpactType
world World
cell CPos
pos WPos
firedBy Actor
Résultat ImpactType

IsValidImpact() public méthode

public IsValidImpact ( WPos pos, Actor firedBy ) : bool
pos WPos
firedBy Actor
Résultat bool