C# Class Eryan.InputHandler.Camera

Camera handler
ファイルを表示 Open project: emist/Eryan Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
isEmpty ( List recs, Point pt ) : bool

Method Details

Camera() public method

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
return System

Camera() public method

public Camera ( WindowHandler wh ) : System
wh Eryan.UI.WindowHandler
return System

getOpenSpace() public method

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

rotateLeft() public method

Rotate the camera to the left
public rotateLeft ( ) : bool
return bool

rotateRight() public method

Rotate the camera to the Right
public rotateRight ( ) : bool
return bool