C# 클래스 Shooter.Controls.Camera

파일 보기 프로젝트 열기: JoeyTheAsian/Just-Force 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
camPos Coord
screenShake bool
shakeDur int
xOffset int
yOffset int

공개 메소드들

메소드 설명
Camera ( int w, int h ) : Shooter.MapClasses
UpdateCamera ( int elapsedTime, double X, double Y, int tileSize, Coord mouse, Coord origin ) : void

메소드 상세

Camera() 공개 메소드

public Camera ( int w, int h ) : Shooter.MapClasses
w int
h int
리턴 Shooter.MapClasses

UpdateCamera() 공개 메소드

public UpdateCamera ( int elapsedTime, double X, double Y, int tileSize, Coord mouse, Coord origin ) : void
elapsedTime int
X double
Y double
tileSize int
mouse Coord
origin Coord
리턴 void

프로퍼티 상세

camPos 공개적으로 프로퍼티

public Coord camPos
리턴 Coord

screenShake 공개적으로 프로퍼티

public bool screenShake
리턴 bool

shakeDur 공개적으로 프로퍼티

public int shakeDur
리턴 int

xOffset 공개적으로 프로퍼티

public int xOffset
리턴 int

yOffset 공개적으로 프로퍼티

public int yOffset
리턴 int