indigo.shared.events
Members list
Type members
Classlikes
A simple type containing flags allowing exact control over the access rights of different types of events.
A simple type containing flags allowing exact control over the access rights of different types of events.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The application has received focus
The application has received focus
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
The application has lost focus
The application has lost focus
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
ApplicationLostFocus.type
Events relating to dynamically loading assets after the game has started.
Events relating to dynamically loading assets after the game has started.
These events are the underlying events used by the AssetBundleLoader
SubSystem
, which makes loading assets a slightly more pleasant experience.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
AssetEvent.type
The game canvas has received focus
The game canvas has received focus
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
CanvasGainedFocus.type
The game canvas has lost focus
The game canvas has lost focus
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
CanvasLostFocus.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attempt to enter full screen mode
Attempt to enter full screen mode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
EnterFullScreen.type
EventFilter's control which events will be processed by your model or view model. You can think of event filters like a firewall for events, that only permit the wanted events into the model and view model update functions to avoid conflicts, duplicate, and needless work.
EventFilter's control which events will be processed by your model or view model. You can think of event filters like a firewall for events, that only permit the wanted events into the model and view model update functions to avoid conflicts, duplicate, and needless work.
Events are filtered by mapping from a specific event to an optional event.
Although the name says "filter", the action is really filter and map, since there is no requirement to maintain the original event as the resultant event. For example, you could map FrameTick
to CustomEvents.Update
if it make more sense in your domain model.
Value parameters
- modelFilter
-
The filter map for the events going into model update
- viewModelFilter
-
The filter map for the events going into view model update
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EventFilters.type
Attempt to exit full screen mode
Attempt to exit full screen mode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExitFullScreen.type
A special event that happens once per frame, at the end of the frame. Useful for updating anything in your model that "just happens" on every frame without any other prompting event. Like gravity.
A special event that happens once per frame, at the end of the frame. Useful for updating anything in your model that "just happens" on every frame without any other prompting event. Like gravity.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
FrameTick.type
A problem occurred trying to enter full screen
A problem occurred trying to enter full screen
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait GlobalEventErrortrait ViewEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
FullScreenEnterError.type
The game entered full screen mode
The game entered full screen mode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait ViewEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
FullScreenEntered.type
A problem occurred trying to exit full screen
A problem occurred trying to exit full screen
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait GlobalEventErrortrait ViewEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
FullScreenExitError.type
The game exited full screen mode
The game exited full screen mode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait ViewEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
FullScreenExited.type
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
case LEFT_ANALOGcase RIGHT_ANALOG
A trait that tells Indigo to allow this instance into the event loop for the duration of one frame.
A trait that tells Indigo to allow this instance into the event loop for the duration of one frame.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait JobMarketEventclass Allocateclass Findclass NothingFoundclass Postcase Loadcase Retrycase Startedcase LoadProgresscase Successcase Failureclass Moveclass InputFieldChangeenum SceneEventcase JumpTocase SceneChangeobject ApplicationGainedFocus.typeobject ApplicationLostFocus.typetrait AssetEventclass AssetBatchLoadErrorclass AssetBatchLoadedclass LoadAssetclass LoadAssetBatchobject CanvasGainedFocus.typeobject CanvasLostFocus.typeobject EnterFullScreen.typeobject ExitFullScreen.typeobject FrameTick.typetrait GlobalEventErrorobject FullScreenEnterError.typeobject FullScreenExitError.typetrait StorageEventErrorclass FeatureNotAvailableclass InvalidPermissionsclass QuotaExceededclass Unspecifiedenum IndigoSystemEventtrait InputEventtrait KeyboardEventclass KeyDownclass KeyUptrait MouseEventclass Clickclass Enterclass Leaveclass MouseDownclass MouseUpclass Moveclass Wheeltrait PointerEventclass PointerCancelclass PointerDownclass PointerEnterclass PointerLeaveclass PointerMoveclass PointerUptrait NetworkEventobject Offline.typeobject Online.typetrait NetworkReceiveEventtrait HttpReceiveEventobject HttpError.typeclass HttpResponseclass Closeclass Errorclass Receivetrait NetworkSendEventtrait HttpRequestclass DELETEclass GETclass POSTclass PUTclass ConnectOnlyclass Openclass Sendclass PlaySoundtrait StorageEventclass Deleteobject DeleteAll.typeclass FetchKeyAtclass FetchKeysclass KeyFoundAtclass KeysFoundclass Loadclass Loadedclass Savetrait SubSystemEventtrait AutomataEventclass KillAllclass Spawnclass Updateobject ToggleFullScreen.typetrait ViewEventobject FullScreenEntered.typeobject FullScreenExited.typeclass RendererDetailsclass ViewportResizeShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GlobalEvent.type
A trait that tells Indigo that an error has occurred
A trait that tells Indigo that an error has occurred
Attributes
- Supertypes
- Known subtypes
-
object FullScreenEnterError.typeobject FullScreenExitError.typetrait StorageEventErrorclass FeatureNotAvailableclass InvalidPermissionsclass QuotaExceededclass UnspecifiedShow all
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
Tags events for input devices like mice and keyboards. InputEvent
s work in partnership with InputState
. Events represent a one time thing that happened since the last frame, while the state represents the ongoing state of an input.
Tags events for input devices like mice and keyboards. InputEvent
s work in partnership with InputState
. Events represent a one time thing that happened since the last frame, while the state represents the ongoing state of an input.
For example there is a mouse Move event i.e. "The mouse was moved" and there is also the mouse position on the InputState
i.e. "Where is the mouse now?"
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait KeyboardEventclass KeyDownclass KeyUptrait MouseEventclass Clickclass Enterclass Leaveclass MouseDownclass MouseUpclass Moveclass Wheeltrait PointerEventclass PointerCancelclass PointerDownclass PointerEnterclass PointerLeaveclass PointerMoveclass PointerUpShow all
Input mapping instances describe combinations of "live" inputs like key combinations or gamepad buttons, and map them to some user defined value.
Input mapping instances describe combinations of "live" inputs like key combinations or gamepad buttons, and map them to some user defined value.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
InputMapping.type
Holds a snapshot of the states of the various input types as they were entering this frame.
Holds a snapshot of the states of the various input types as they were entering this frame.
Value parameters
- gamepad
-
Current state of the gamepad
- keyboard
-
Current state of the keyboard
- mouse
-
Current state of the mouse
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
InputState.type
Represents all keyboard events
Represents all keyboard events
Attributes
- Companion
- object
- Supertypes
-
trait InputEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
KeyboardEvent.type
Follows the MDN spec values https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button Relies on the ordinal behavior of Scala 3 enums to match the button number
Follows the MDN spec values https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button Relies on the ordinal behavior of Scala 3 enums to match the button number
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MouseButton.type
Represents all mouse events
Represents all mouse events
Attributes
- Companion
- object
- Supertypes
-
trait MouseOrPointerEventtrait InputEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MouseEvent.type
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MouseInput.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait MouseEventclass Clickclass Enterclass Leaveclass MouseDownclass MouseUpclass Moveclass Wheeltrait PointerEventclass PointerCancelclass PointerDownclass PointerEnterclass PointerLeaveclass PointerMoveclass PointerUpShow all
Represents in which direction the mouse wheel was rotated
Represents in which direction the mouse wheel was rotated
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A class of events representing general networking events
A class of events representing general networking events
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NetworkEvent.type
A class of events representing inbound communication over a network protocol
A class of events representing inbound communication over a network protocol
Attributes
- Supertypes
- Known subtypes
-
trait HttpReceiveEventobject HttpError.typeclass HttpResponseclass Closeclass Errorclass ReceiveShow all
A class of events representing outbound communication over a network protocol
A class of events representing outbound communication over a network protocol
Attributes
- Supertypes
- Known subtypes
-
trait HttpRequestclass DELETEclass GETclass POSTclass PUTclass ConnectOnlyclass Openclass SendShow all
Can be emitted to trigger the one time play back of a sound asset.
Can be emitted to trigger the one time play back of a sound asset.
Value parameters
- assetName
-
Reference to the loaded asset
- volume
-
What volume level to play at
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
Represents all mouse, pen and touch events
Represents all mouse, pen and touch events
Attributes
- Companion
- object
- Supertypes
-
trait MouseOrPointerEventtrait InputEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class PointerCancelclass PointerDownclass PointerEnterclass PointerLeaveclass PointerMoveclass PointerUpShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PointerEvent.type
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Event to inform the game which rendering choices are active. For example a view may wish to behave differently depending on the rendering technology available. This event is only fired once during start up.
Event to inform the game which rendering choices are active. For example a view may wish to behave differently depending on the rendering technology available. This event is only fired once during start up.
Value parameters
- clearColor
-
The clear color set during initialisation
- magnification
-
The magnification set during initialisation
- renderingTechnology
-
WebGL 1.0 or WebGL 2.0
Attributes
- Supertypes
-
trait ViewEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
Events relating to manipulating locally stored data
Events relating to manipulating locally stored data
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class Deleteobject DeleteAll.typeclass FetchKeyAtclass FetchKeysclass KeyFoundAtclass KeysFoundclass Loadclass Loadedclass SaveShow all
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StorageEvent.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StorageEventError.type
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A trait whose presence signals that this event should only be routed to subsystems, not the main game.
A trait whose presence signals that this event should only be routed to subsystems, not the main game.
Attributes
- Supertypes
- Known subtypes
Attempt to enter or exit full screen mode
Attempt to enter or exit full screen mode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Self type
-
ToggleFullScreen.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object FullScreenEnterError.typeobject FullScreenEntered.typeobject FullScreenExitError.typeobject FullScreenExited.typeclass RendererDetailsclass ViewportResizeShow all
Fired whenever the game window changes size, so that the view can respond.
Fired whenever the game window changes size, so that the view can respond.
Value parameters
- gameViewPort
-
The actual size in pixels, you can ask it to apply magnification.
Attributes
- Supertypes
-
trait ViewEventtrait Serializabletrait Producttrait Equalstrait GlobalEventclass Objecttrait Matchableclass AnyShow all