C# Класс Eryan.InputHandler.Camera

Camera handler
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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