C# 클래스 DodongosQuest.Camera

파일 보기 프로젝트 열기: faintpixel/Roguelike

공개 메소드들

메소드 설명
CenterCameraOnScreenPosition ( float x, float y ) : void
CenterCameraOnWorldPosition ( float x, float y ) : void
GetScreenPosition ( Vector2 worldPosition ) : Vector2
GetWorldPosition ( Vector2 screenPosition ) : Vector2
SetWorldSize ( float x, float y ) : void
Update ( GameTime gameTime ) : void

메소드 상세

CenterCameraOnScreenPosition() 공개 정적인 메소드

public static CenterCameraOnScreenPosition ( float x, float y ) : void
x float
y float
리턴 void

CenterCameraOnWorldPosition() 공개 정적인 메소드

public static CenterCameraOnWorldPosition ( float x, float y ) : void
x float
y float
리턴 void

GetScreenPosition() 공개 정적인 메소드

public static GetScreenPosition ( Vector2 worldPosition ) : Vector2
worldPosition Vector2
리턴 Vector2

GetWorldPosition() 공개 정적인 메소드

public static GetWorldPosition ( Vector2 screenPosition ) : Vector2
screenPosition Vector2
리턴 Vector2

SetWorldSize() 공개 정적인 메소드

public static SetWorldSize ( float x, float y ) : void
x float
y float
리턴 void

Update() 공개 정적인 메소드

public static Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void