C# 클래스 FightingEntity, BarCrawl

상속: Entity
파일 보기 프로젝트 열기: karatesaul/BarCrawl 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
damageDealt int
foeTag string
range int

보호된 메소드들

메소드 설명
AttemptMove ( Move, move ) : bool

Attempts to execute the specified move. If there is something in the way, will not change position, but will change facing. In FightingEntity, this handles fighting as well as movement.

Start ( ) : void

메소드 상세

AttemptMove() 보호된 메소드

Attempts to execute the specified move. If there is something in the way, will not change position, but will change facing. In FightingEntity, this handles fighting as well as movement.
protected AttemptMove ( Move, move ) : bool
move Move, The move to execute.
리턴 bool

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

프로퍼티 상세

damageDealt 보호되어 있는 프로퍼티

The damage dealt. Defaults to 10.
protected int damageDealt
리턴 int

foeTag 보호되어 있는 프로퍼티

The tag assigned to entities that this entity can fight.
protected string foeTag
리턴 string

range 보호되어 있는 프로퍼티

The range of attacks. Defaults to 1, AKA melee.
protected int range
리턴 int