indigo.shared

Type members

Classlikes

final class AnimationsRegister
final class BoundaryLocator(animationsRegister: AnimationsRegister, fontRegister: FontRegister)
final class CacheKey(val value: String) extends AnyVal
Companion
object
object CacheKey
Companion
class
final class FontRegister
final class FrameContext[StartUpData](val gameTime: GameTime, val dice: Dice, val inputState: InputState, val boundaryLocator: BoundaryLocator, _startUpData: => StartUpData)
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 Params
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.
object IndigoLogger
A very, very simple logger that logs to the Browsers console with a few standard headers and the log message.
sealed trait Outcome[+A]
Companion
object
object Outcome
Companion
class
sealed trait PowerOfTwo
Companion
object
object PowerOfTwo
Companion
class
final class QuickCache[A](cache: HashMap[CacheKey, A])
Companion
object
object QuickCache
Companion
class
sealed trait Startup[+SuccessType] extends Product with Serializable
Companion
object
object Startup
Companion
class
trait ToCacheKey[A]
Companion
object
object ToCacheKey
Companion
class