semagrams.api

This contains all of the functions that we export to apps

Attributes

Members list

Concise view

Extensions

Extensions

extension [A](action: IO[A])
final def toOption: IO[Option[A]]
extension [A](action: IO[A])
final def onCancelOrError(fin: IO[A]): IO[A]

Exports

Defined exports

final type Actions = Actions
Exported from semagrams
final val Arrow: Arrow.type
Exported from sprites
final type Arrow = Arrow
Exported from sprites
Exported from BasicSprites$package
Exported from BasicSprites$package
Exported from semagrams
final type Clickable = Clickable
Exported from sprites
final val Complex: Complex.type
Exported from util
final type Complex = Complex
Exported from util
final val DPBox: DPBox.type
Exported from sprites
final type DPBox = DPBox
Exported from sprites
final val Disc: Disc.type
Exported from sprites
final type Disc = Disc
Exported from sprites
Exported from controllers
Exported from controllers
Exported from semagrams
final type Entity = Entity
Exported from semagrams
final val EntityMap: EntityMap.type
Exported from entity$package
final type EntityMap = EntityMap
Exported from entity$package$
Exported from semagrams
final type EntityType = EntityType
Exported from semagrams
final type Event = Event
Exported from semagrams
Exported from controllers
Exported from controllers
final type Hoverable = Hoverable
Exported from sprites
final val KeyModifier: KeyModifier.type
Exported from semagrams
Exported from semagrams
final val MouseButton: MouseButton.type
Exported from semagrams
Exported from semagrams
Exported from controllers
Exported from controllers
final type PValue = PValue
Exported from semagrams
final val Position: Position.type
Exported from PositionWrapper$package
final type Position = Position
Exported from PositionWrapper$package$
final val PropMap: PropMap.type
Exported from semagrams
final type PropMap = PropMap
Exported from semagrams
final val Rect: Rect.type
Exported from sprites
final type Rect = Rect
Exported from sprites
final type Semagram = Semagram
Exported from semagrams
final type Sprite = Sprite
Exported from semagrams
final type UIState = UIState
Exported from ui
Exported from util
final val Viewport: Viewport.type
Exported from semagrams
final type Viewport = Viewport
Exported from semagrams
final type WireProp = WireProp
Exported from sprites
final type WireStub = WireStub
Exported from sprites
Exported from sprites
def clickOn[E <: Entity](button: MouseButton, ty: EntityType): Binding[E]
Exported from bindings$package

Matches clicks on entities of entity type ty with button button, returns the entity clicked on.

Matches clicks on entities of entity type ty with button button, returns the entity clicked on.

Attributes

def fromMaybe[Model, A](a: IO[Option[A]]): IO[A]
Exported from ioutils$package

A convenience wrapper around calling unwrap for IO

A convenience wrapper around calling unwrap for IO

Attributes