C# 클래스 GrandLarceny.Guard

상속: GrandLarceny.GuardEntity
파일 보기 프로젝트 열기: melburn/GLhf

공개 메소드들

메소드 설명
Guard ( Vector2 a_posV2, String a_sprite, float a_patrolPoint, System.Boolean a_hasFlashLight, float a_layer ) : System
Guard ( Vector2 a_posV2, String a_sprite, float a_leftpatrolPoint, float a_rightpatrolPoint, System.Boolean a_hasFlashLight, float a_layer ) : System
ToString ( ) : string
addLampSwitchTarget ( GrandLarceny.LampSwitch a_lampSwitch ) : void
canHearPlayer ( ) : bool
canSeePlayer ( ) : bool
canSeePoint ( Vector2 a_point ) : bool
canStrike ( ) : bool
flip ( ) : void
getHuhSound ( ) : GrandLarceny.Sound
guardFaceRight ( ) : bool
hasNoLampSwitchTargets ( ) : bool
isFacingRight ( ) : bool
isFacingTowards ( float a_x ) : bool
isFlashLightAddicted ( ) : bool
kill ( ) : void
linkObject ( ) : void
loadContent ( ) : void
removeLampSwitchTarget ( GrandLarceny.LampSwitch a_lampSwitch ) : void
setChaseTarget ( Entity a_target ) : void
toggleFlashLightAddicted ( ) : void
update ( GameTime a_gameTime ) : void

비공개 메소드들

메소드 설명
chasePlayer ( ) : void
collisionCheck ( List a_collisionList ) : void
faceTowards ( float a_x ) : bool
getChaseTarget ( ) : Entity
getFirstLampSwitchTarget ( ) : GrandLarceny.LampSwitch
goLeft ( ) : void
goRight ( ) : void
hasFlash ( ) : bool
hasPatrol ( ) : bool
isCarryingFlash ( ) : bool
isRunning ( ) : bool
isStriking ( ) : bool
removeFirstLampSwitchTarget ( ) : void
setRunning ( bool a_running ) : void
stop ( ) : void
strike ( ) : void
toggleFlashLight ( ) : void

메소드 상세

Guard() 공개 메소드

public Guard ( Vector2 a_posV2, String a_sprite, float a_patrolPoint, System.Boolean a_hasFlashLight, float a_layer ) : System
a_posV2 Vector2
a_sprite String
a_patrolPoint float
a_hasFlashLight System.Boolean
a_layer float
리턴 System

Guard() 공개 메소드

public Guard ( Vector2 a_posV2, String a_sprite, float a_leftpatrolPoint, float a_rightpatrolPoint, System.Boolean a_hasFlashLight, float a_layer ) : System
a_posV2 Vector2
a_sprite String
a_leftpatrolPoint float
a_rightpatrolPoint float
a_hasFlashLight System.Boolean
a_layer float
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

addLampSwitchTarget() 공개 메소드

public addLampSwitchTarget ( GrandLarceny.LampSwitch a_lampSwitch ) : void
a_lampSwitch GrandLarceny.LampSwitch
리턴 void

canHearPlayer() 공개 메소드

public canHearPlayer ( ) : bool
리턴 bool

canSeePlayer() 공개 메소드

public canSeePlayer ( ) : bool
리턴 bool

canSeePoint() 공개 메소드

public canSeePoint ( Vector2 a_point ) : bool
a_point Vector2
리턴 bool

canStrike() 공개 메소드

public canStrike ( ) : bool
리턴 bool

flip() 공개 메소드

public flip ( ) : void
리턴 void

getHuhSound() 공개 메소드

public getHuhSound ( ) : GrandLarceny.Sound
리턴 GrandLarceny.Sound

guardFaceRight() 공개 메소드

public guardFaceRight ( ) : bool
리턴 bool

hasNoLampSwitchTargets() 공개 메소드

public hasNoLampSwitchTargets ( ) : bool
리턴 bool

isFacingRight() 공개 메소드

public isFacingRight ( ) : bool
리턴 bool

isFacingTowards() 공개 메소드

public isFacingTowards ( float a_x ) : bool
a_x float
리턴 bool

isFlashLightAddicted() 공개 메소드

public isFlashLightAddicted ( ) : bool
리턴 bool

kill() 공개 메소드

public kill ( ) : void
리턴 void

linkObject() 공개 메소드

public linkObject ( ) : void
리턴 void

loadContent() 공개 메소드

public loadContent ( ) : void
리턴 void

removeLampSwitchTarget() 공개 메소드

public removeLampSwitchTarget ( GrandLarceny.LampSwitch a_lampSwitch ) : void
a_lampSwitch GrandLarceny.LampSwitch
리턴 void

setChaseTarget() 공개 메소드

public setChaseTarget ( Entity a_target ) : void
a_target Entity
리턴 void

toggleFlashLightAddicted() 공개 메소드

public toggleFlashLightAddicted ( ) : void
리턴 void

update() 공개 메소드

public update ( GameTime a_gameTime ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
리턴 void