CompassView:
Filter:
Modality-toolkit/Classes (extension) | GUI

CompassView
ExtensionExtension

a view for compass elements

Description

A view designed to show compass elements as they are on gamepads, gaming josticks etc. Not currently used, intended for combined element guis.

First code examples:

Class Methods

.new

Instance Methods

.nameView

the name view

.skin

the gui skin used

.zone

the compositeView in which the buttons live

.value

get and set the value of the compassview (0 - 8)

.buttons

the buttons showing the directions

.action

get and set the action to perform when compassview is activated

.valueAction

set value and do the action

.buttonReset

reset all buttons to 0