C# 클래스 OpenRA.Mods.Common.Warheads.Warhead

상속: IWarhead
파일 보기 프로젝트 열기: OpenRA/OpenRA

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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

메소드 상세

DoImpact() 공개 추상적인 메소드

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
리턴 void

IsValidAgainst() 공개 메소드

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

IsValidAgainst() 공개 메소드

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
리턴 bool

IsValidTarget() 공개 메소드

public IsValidTarget ( IEnumerable targetTypes ) : bool
targetTypes IEnumerable
리턴 bool