Procedural Hexagon Grid Framework
 All Classes Namespaces Functions
PHG.InputManager Class Reference

Class for handling events, such as selecting cell objects. More...

Inheritance diagram for PHG.InputManager:

Public Member Functions

delegate void ClickCellObjectAction (CellObject cObject)
 
delegate void HoverCellObjectAction (CellObject cObject)
 
delegate void CameraAction ()
 

Public Attributes

KeyCode SelectCellObject = KeyCode.Mouse0
 
KeyCode CameraOrbitWithMouseKey = KeyCode.Mouse1
 
KeyCode CameraOrbitLeftKey = KeyCode.LeftArrow
 
KeyCode CameraOrbitRightKey = KeyCode.RightArrow
 
KeyCode CameraPanKey = KeyCode.Mouse2
 
KeyCode CameraZoomFirstKey = KeyCode.Mouse2
 
KeyCode CameraZoomSecondKey = KeyCode.LeftAlt
 
KeyCode MoveCameraLeftKey = KeyCode.A
 
KeyCode MoveCameraRightKey = KeyCode.D
 
KeyCode MoveCameraUpKey = KeyCode.W
 
KeyCode MoveCameraDownKey = KeyCode.S
 

Events

static ClickCellObjectAction OnSelectCellObject
 
static HoverCellObjectAction OnHoverCellObject
 
static CameraAction OnZoom
 
static CameraAction OnOrbitWithMouse
 
static CameraAction OnOrbitXaxisToLeft
 
static CameraAction OnOrbitXaxisToRight
 
static CameraAction OnPan
 
static CameraAction OnMoveLeft
 
static CameraAction OnMoveRight
 
static CameraAction OnMoveUp
 
static CameraAction OnMoveDown
 

Detailed Description

Class for handling events, such as selecting cell objects.


The documentation for this class was generated from the following file: