indigo.shared
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BoundaryLocator.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CacheKey.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
The FrameContext is the context in which the current frame will be processed. In includes values that are unique to this frame, and also globally available services.
The FrameContext is the context in which the current frame will be processed. In includes values that are unique to this frame, and also globally available services.
Value parameters
- boundaryLocator
-
A service that can be interrogated for the calculated dimensions of screen elements.
- dice
-
A pseudo-random number generator, made predictable / reproducible by being seeded on the current running time.
- gameTime
-
A sampled instance of time that you should use everywhere that you need a time value.
- inputState
-
A snapshot of the state of the various input methods, also allows input mapping of combinations of inputs.
- startUpData
-
A read only reference to any and all data created during start up / set up.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
A very, very simple logger that logs to the Browsers console with a few standard headers and the log message.
A very, very simple logger that logs to the Browsers console with a few standard headers and the log message.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IndigoLogger.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Json
An Outcome
represents the result of some part of a frame update. It contains a value or an error (exception), and optionally a list of events to be processed on the next frame.
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PowerOfTwo.type
QuickCache is a handy way to avoid expensive re-calculation of data. It is a side-effecting arrangement that Indigo uses a lot internally, that can also be used by cautious game devs. Simple example:
QuickCache is a handy way to avoid expensive re-calculation of data. It is a side-effecting arrangement that Indigo uses a lot internally, that can also be used by cautious game devs. Simple example:
given QuickCache[MyExpensiveObject] = QuickCache.empty
QuickCache("key")(obj)
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
QuickCache.type
The Startup data type describes either a successful or failed start up sequence. It can hold a value, as well as new shaders, animations and fonts to be added to Indigo's registers. A new Startup instance is created each time the setup function is called, at least once, but also on dynamic asset load.
The Startup data type describes either a successful or failed start up sequence. It can hold a value, as well as new shaders, animations and fonts to be added to Indigo's registers. A new Startup instance is created each time the setup function is called, at least once, but also on dynamic asset load.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ToCacheKey.type