gleeps

Types

TBD

pub type Action
pub type Runtime(state) {
  Runtime(
    init: fn() -> state,
    loop: fn(state, WorldState) -> #(state, List(Action)),
  )
}

Constructors

  • Runtime(
      init: fn() -> state,
      loop: fn(state, WorldState) -> #(state, List(Action)),
    )

TBD

pub type WorldState {
  WorldState
}

Constructors

  • WorldState

    TBD

Values

pub fn new(
  init: fn() -> state,
  loop: fn(state, WorldState) -> #(state, List(Action)),
) -> Runtime(state)

creates a new runtime

pub const public_signature: String

The one and only required and allowed public signature in your module

Search Document