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

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
DoImpact ( Target target, Actor firedBy, IEnumerable damageModifiers ) : void

Applies the warhead's effect against the target.

IsValidAgainst ( Actor victim, Actor firedBy ) : bool

Checks if the warhead is valid against (can do something to) the actor.

IsValidAgainst ( OpenRA.Traits.FrozenActor victim, Actor firedBy ) : bool

Checks if the warhead is valid against (can do something to) the frozen actor.

IsValidTarget ( IEnumerable targetTypes ) : bool

Method Details

DoImpact() public abstract méthode

Applies the warhead's effect against the target.
public abstract DoImpact ( Target target, Actor firedBy, IEnumerable damageModifiers ) : void
target OpenRA.Traits.Target
firedBy Actor
damageModifiers IEnumerable
Résultat void

IsValidAgainst() public méthode

Checks if the warhead is valid against (can do something to) the actor.
public IsValidAgainst ( Actor victim, Actor firedBy ) : bool
victim Actor
firedBy Actor
Résultat bool

IsValidAgainst() public méthode

Checks if the warhead is valid against (can do something to) the frozen actor.
public IsValidAgainst ( OpenRA.Traits.FrozenActor victim, Actor firedBy ) : bool
victim OpenRA.Traits.FrozenActor
firedBy Actor
Résultat bool

IsValidTarget() public méthode

public IsValidTarget ( IEnumerable targetTypes ) : bool
targetTypes IEnumerable
Résultat bool