C# 클래스 ZombieShooter.Enemy

상속: Obj
파일 보기 프로젝트 열기: Spectrewiz/Zombie-Shooter 1 사용 예제들

공개 메소드들

메소드 설명
Enemy ( Vector2 position ) : System
IncrementTimers ( ) : void
PushTo ( Vector2 velocity, float direction ) : void
Update ( ) : void
findPath ( ) : void
tryToHitPlayer ( ) : void

비공개 메소드들

메소드 설명
moveToDest ( ) : void
setPath ( ) : void
stepToPoint ( Point point ) : bool

메소드 상세

Enemy() 공개 메소드

public Enemy ( Vector2 position ) : System
position Vector2
리턴 System

IncrementTimers() 공개 메소드

public IncrementTimers ( ) : void
리턴 void

PushTo() 공개 메소드

public PushTo ( Vector2 velocity, float direction ) : void
velocity Vector2
direction float
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

findPath() 공개 메소드

public findPath ( ) : void
리턴 void

tryToHitPlayer() 공개 메소드

public tryToHitPlayer ( ) : void
리턴 void