C# Class Eryan.InputHandler.Camera

Camera handler
Afficher le fichier Open project: emist/Eryan Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
isEmpty ( List recs, Point pt ) : bool

Method Details

Camera() public méthode

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
Résultat System

Camera() public méthode

public Camera ( WindowHandler wh ) : System
wh Eryan.UI.WindowHandler
Résultat System

getOpenSpace() public méthode

Find an open area in the inflight interface
public getOpenSpace ( ) : Point
Résultat Point

rotateLeft() public méthode

Rotate the camera to the left
public rotateLeft ( ) : bool
Résultat bool

rotateRight() public méthode

Rotate the camera to the Right
public rotateRight ( ) : bool
Résultat bool