C# 클래스 GrandLarceny.Rope

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

보호된 프로퍼티들

프로퍼티 타입 설명
m_endPosition GrandLarceny.Position
m_lenght float
m_moveToStart bool
m_startPosition GrandLarceny.Position
m_swingSpeed float

공개 메소드들

메소드 설명
Rope ( Vector2 a_posV2, string a_sprite, float a_layer ) : System
draw ( GameTime a_gameTime ) : void
getEndpoint ( ) : GrandLarceny.Position
getImageBox ( ) : GrandLarceny.CollisionShape
getLength ( ) : float
loadContent ( ) : void
moveRope ( Vector2 a_position ) : void
resetPosition ( ) : void
setEndPoint ( GrandLarceny.Position a_position ) : void
setEndPoint ( GrandLarceny.Position a_position, Vector2 a_offset ) : void
setEndPoint ( Vector2 a_endPoint ) : void
setEndPoint ( Vector2 a_position, Vector2 a_offset ) : void
setLength ( float a_length ) : void
setStartPoint ( Vector2 a_startPoint ) : void
update ( GameTime a_gameTime ) : void

비공개 메소드들

메소드 설명
updateCollisionWith ( Entity a_collid ) : void

메소드 상세

Rope() 공개 메소드

public Rope ( Vector2 a_posV2, string a_sprite, float a_layer ) : System
a_posV2 Vector2
a_sprite string
a_layer float
리턴 System

draw() 공개 메소드

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

getEndpoint() 공개 메소드

public getEndpoint ( ) : GrandLarceny.Position
리턴 GrandLarceny.Position

getImageBox() 공개 메소드

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

getLength() 공개 메소드

public getLength ( ) : float
리턴 float

loadContent() 공개 메소드

public loadContent ( ) : void
리턴 void

moveRope() 공개 메소드

public moveRope ( Vector2 a_position ) : void
a_position Vector2
리턴 void

resetPosition() 공개 메소드

public resetPosition ( ) : void
리턴 void

setEndPoint() 공개 메소드

public setEndPoint ( GrandLarceny.Position a_position ) : void
a_position GrandLarceny.Position
리턴 void

setEndPoint() 공개 메소드

public setEndPoint ( GrandLarceny.Position a_position, Vector2 a_offset ) : void
a_position GrandLarceny.Position
a_offset Vector2
리턴 void

setEndPoint() 공개 메소드

public setEndPoint ( Vector2 a_endPoint ) : void
a_endPoint Vector2
리턴 void

setEndPoint() 공개 메소드

public setEndPoint ( Vector2 a_position, Vector2 a_offset ) : void
a_position Vector2
a_offset Vector2
리턴 void

setLength() 공개 메소드

public setLength ( float a_length ) : void
a_length float
리턴 void

setStartPoint() 공개 메소드

public setStartPoint ( Vector2 a_startPoint ) : void
a_startPoint Vector2
리턴 void

update() 공개 메소드

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

프로퍼티 상세

m_endPosition 보호되어 있는 프로퍼티

protected Position,GrandLarceny m_endPosition
리턴 GrandLarceny.Position

m_lenght 보호되어 있는 프로퍼티

protected float m_lenght
리턴 float

m_moveToStart 보호되어 있는 프로퍼티

protected bool m_moveToStart
리턴 bool

m_startPosition 보호되어 있는 프로퍼티

protected Position,GrandLarceny m_startPosition
리턴 GrandLarceny.Position

m_swingSpeed 보호되어 있는 프로퍼티

protected float m_swingSpeed
리턴 float