C# 클래스 GrandLarceny.Player

상속: GrandLarceny.MovingObject
파일 보기 프로젝트 열기: melburn/GLhf 1 사용 예제들

공개 메소드들

메소드 설명
Player ( Vector2 a_posV2, String a_sprite, float a_layer ) : System
activateChaseMode ( GrandLarceny.NPE a_enemy ) : void
changePositionType ( ) : void
deactivateChaseMode ( ) : void
dealDamageTo ( Vector2 a_knockBackForce ) : void
draw ( GameTime a_gameTime ) : void
getCurrentState ( ) : State
getHideSound ( ) : GrandLarceny.Sound
getHidingImage ( ) : string
getLastState ( ) : State
getSlideBox ( ) : GrandLarceny.CollisionShape
hang ( Entity a_collider ) : void
hangClimbAction ( ) : void
heal ( int a_amount ) : void
isChase ( ) : bool
isFacingRight ( ) : bool
isInLight ( ) : bool
isRunMode ( ) : bool
isStunned ( ) : bool
loadContent ( ) : void
setCollidedWithVent ( bool a_collided ) : void
setCollidedWithWall ( bool a_collided ) : void
setFacingRight ( bool a_facingRight ) : void
setHidingImage ( String a_imgPath ) : void
setInteractionVisibility ( bool a_show ) : void
setIsInLight ( bool a_isInLight ) : void
setIsOnLadderWithDirection ( Direction a_ladderDirection ) : void
setState ( State a_state ) : void
setSwingSpeed ( float a_speed ) : void
setVentilationDirection ( List a_d ) : void
setVentilationObject ( Entity vent ) : void
update ( GameTime a_gameTime ) : void
updateFlip ( ) : void
windowAction ( ) : void

비공개 메소드들

메소드 설명
activateNormalMode ( ) : void
addHearts ( ) : void
changeAnimation ( ) : void
changedSubImage ( float a_from, float a_to ) : void
collisionCheck ( List a_collisionList ) : void
getRope ( ) : GrandLarceny.GameObject
moveDirectionInVentilation ( Direction a_direction ) : List
setRope ( Rope a_rope ) : void
setSprite ( string a_sprite ) : void
toggleRunMode ( ) : void
updateCD ( float a_deltaTime ) : void
updateClimbing ( ) : void
updateHanging ( ) : void
updateHealthGUI ( ) : void
updateHiding ( float a_deltaTime ) : void
updateJumping ( float a_deltaTime ) : void
updateRolling ( float a_deltaTime ) : void
updateSliding ( GameTime a_gameTime ) : void
updateState ( ) : void
updateStop ( float a_deltaTime ) : void
updateStunned ( float a_deltaTime ) : void
updateSwinging ( float a_deltaTime ) : void
updateVentilation ( float a_deltaTime ) : void
updateWalking ( float a_deltaTime ) : void

메소드 상세

Player() 공개 메소드

public Player ( Vector2 a_posV2, String a_sprite, float a_layer ) : System
a_posV2 Vector2
a_sprite String
a_layer float
리턴 System

activateChaseMode() 공개 메소드

public activateChaseMode ( GrandLarceny.NPE a_enemy ) : void
a_enemy GrandLarceny.NPE
리턴 void

changePositionType() 공개 메소드

public changePositionType ( ) : void
리턴 void

deactivateChaseMode() 공개 메소드

public deactivateChaseMode ( ) : void
리턴 void

dealDamageTo() 공개 메소드

public dealDamageTo ( Vector2 a_knockBackForce ) : void
a_knockBackForce Vector2
리턴 void

draw() 공개 메소드

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

getCurrentState() 공개 메소드

public getCurrentState ( ) : State
리턴 State

getHideSound() 공개 메소드

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

getHidingImage() 공개 메소드

public getHidingImage ( ) : string
리턴 string

getLastState() 공개 메소드

public getLastState ( ) : State
리턴 State

getSlideBox() 공개 메소드

public getSlideBox ( ) : GrandLarceny.CollisionShape
리턴 GrandLarceny.CollisionShape

hang() 공개 메소드

public hang ( Entity a_collider ) : void
a_collider Entity
리턴 void

hangClimbAction() 공개 메소드

public hangClimbAction ( ) : void
리턴 void

heal() 공개 메소드

public heal ( int a_amount ) : void
a_amount int
리턴 void

isChase() 공개 메소드

public isChase ( ) : bool
리턴 bool

isFacingRight() 공개 메소드

public isFacingRight ( ) : bool
리턴 bool

isInLight() 공개 메소드

public isInLight ( ) : bool
리턴 bool

isRunMode() 공개 메소드

public isRunMode ( ) : bool
리턴 bool

isStunned() 공개 메소드

public isStunned ( ) : bool
리턴 bool

loadContent() 공개 메소드

public loadContent ( ) : void
리턴 void

setCollidedWithVent() 공개 메소드

public setCollidedWithVent ( bool a_collided ) : void
a_collided bool
리턴 void

setCollidedWithWall() 공개 메소드

public setCollidedWithWall ( bool a_collided ) : void
a_collided bool
리턴 void

setFacingRight() 공개 메소드

public setFacingRight ( bool a_facingRight ) : void
a_facingRight bool
리턴 void

setHidingImage() 공개 메소드

public setHidingImage ( String a_imgPath ) : void
a_imgPath String
리턴 void

setInteractionVisibility() 공개 메소드

public setInteractionVisibility ( bool a_show ) : void
a_show bool
리턴 void

setIsInLight() 공개 메소드

public setIsInLight ( bool a_isInLight ) : void
a_isInLight bool
리턴 void

setIsOnLadderWithDirection() 공개 메소드

public setIsOnLadderWithDirection ( Direction a_ladderDirection ) : void
a_ladderDirection Direction
리턴 void

setState() 공개 메소드

public setState ( State a_state ) : void
a_state State
리턴 void

setSwingSpeed() 공개 메소드

public setSwingSpeed ( float a_speed ) : void
a_speed float
리턴 void

setVentilationDirection() 공개 메소드

public setVentilationDirection ( List a_d ) : void
a_d List
리턴 void

setVentilationObject() 공개 메소드

public setVentilationObject ( Entity vent ) : void
vent Entity
리턴 void

update() 공개 메소드

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

updateFlip() 공개 메소드

public updateFlip ( ) : void
리턴 void

windowAction() 공개 메소드

public windowAction ( ) : void
리턴 void