C# Класс OpenRA.Mods.Common.Warheads.CreateEffectWarhead

Наследование: Warhead
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

DoImpact() публичный Метод

public DoImpact ( Target target, Actor firedBy, IEnumerable damageModifiers ) : void
target OpenRA.Traits.Target
firedBy Actor
damageModifiers IEnumerable
Результат void

GetDirectHit() публичный Метод

public GetDirectHit ( World world, CPos cell, WPos pos, Actor firedBy, bool checkTargetType = false ) : bool
world World
cell CPos
pos WPos
firedBy Actor
checkTargetType bool
Результат bool

GetImpactType() публичный Метод

public GetImpactType ( World world, CPos cell, WPos pos, Actor firedBy ) : ImpactType
world World
cell CPos
pos WPos
firedBy Actor
Результат ImpactType

IsValidImpact() публичный Метод

public IsValidImpact ( WPos pos, Actor firedBy ) : bool
pos WPos
firedBy Actor
Результат bool