C# 클래스 TiledLib.Camera

파일 보기 프로젝트 열기: GarethIW/LDEngine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BoundsHeight int
BoundsWidth int
CameraMatrix Matrix
ClampRect Microsoft.Xna.Framework.Rectangle
Height int
Instance Camera
Position Vector2
Rotation float
RotationTarget float
Target Vector2
Width int
Zoom float

공개 메소드들

메소드 설명
Camera ( int width, int height, Map map ) : System
Camera ( int width, int height, int boundswidth, int boundsheight ) : System
Shake ( double time, float amount ) : void
Update ( GameTime gameTime ) : void

Update the camera

메소드 상세

Camera() 공개 메소드

public Camera ( int width, int height, Map map ) : System
width int
height int
map Map
리턴 System

Camera() 공개 메소드

public Camera ( int width, int height, int boundswidth, int boundsheight ) : System
width int
height int
boundswidth int
boundsheight int
리턴 System

Shake() 공개 메소드

public Shake ( double time, float amount ) : void
time double
amount float
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

BoundsHeight 공개적으로 프로퍼티

public int BoundsHeight
리턴 int

BoundsWidth 공개적으로 프로퍼티

public int BoundsWidth
리턴 int

CameraMatrix 공개적으로 프로퍼티

public Matrix CameraMatrix
리턴 Matrix

ClampRect 공개적으로 프로퍼티

public Rectangle,Microsoft.Xna.Framework ClampRect
리턴 Microsoft.Xna.Framework.Rectangle

Height 공개적으로 프로퍼티

public int Height
리턴 int

Instance 공개적으로 정적으로 프로퍼티

public static Camera,TiledLib Instance
리턴 Camera

Position 공개적으로 프로퍼티

public Vector2 Position
리턴 Vector2

Rotation 공개적으로 프로퍼티

public float Rotation
리턴 float

RotationTarget 공개적으로 프로퍼티

public float RotationTarget
리턴 float

Target 공개적으로 프로퍼티

public Vector2 Target
리턴 Vector2

Width 공개적으로 프로퍼티

public int Width
리턴 int

Zoom 공개적으로 프로퍼티

public float Zoom
리턴 float