C# 클래스 Eryan.InputHandler.Camera

Camera handler
파일 보기 프로젝트 열기: emist/Eryan 1 사용 예제들

공개 메소드들

메소드 설명
Camera ( Mouse m, PreciseMouse pm, Communicator com ) : System

Build a camera handler with the given mouse, pm and communicator references

Camera ( WindowHandler wh ) : System
getOpenSpace ( ) : Point

Find an open area in the inflight interface

rotateLeft ( ) : bool

Rotate the camera to the left

rotateRight ( ) : bool

Rotate the camera to the Right

비공개 메소드들

메소드 설명
isEmpty ( List recs, Point pt ) : bool

메소드 상세

Camera() 공개 메소드

Build a camera handler with the given mouse, pm and communicator references
public Camera ( Mouse m, PreciseMouse pm, Communicator com ) : System
m Eryan.Input.Mouse The mouse reference attached to this handler
pm Eryan.Input.PreciseMouse The precise mouse reference attached to this handler
com Eryan.IPC.Communicator The communicator reference attached to this handler
리턴 System

Camera() 공개 메소드

public Camera ( WindowHandler wh ) : System
wh Eryan.UI.WindowHandler
리턴 System

getOpenSpace() 공개 메소드

Find an open area in the inflight interface
public getOpenSpace ( ) : Point
리턴 Point

rotateLeft() 공개 메소드

Rotate the camera to the left
public rotateLeft ( ) : bool
리턴 bool

rotateRight() 공개 메소드

Rotate the camera to the Right
public rotateRight ( ) : bool
리턴 bool