package elm_playground_gamekits

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module SlopeSource

Sourcetype surface = {
  1. solid : bool array;
  2. angle : Playground.number;
}
Sourcetype mode =
  1. | Floor
  2. | Right_wall
  3. | Ceiling
  4. | Left_wall
Sourceval mode_of : Playground.number -> mode
Sourceval down : mode -> Playground.number * Playground.number
Sourceval ground : tiles:((int * int) -> surface option) -> size:int -> ?reach:int -> mode -> (Playground.number * Playground.number) -> (Playground.number * Playground.number) option
Sourceval block : int -> surface
Sourceval slope : int -> from_:int -> to_:int -> surface
Sourceval ring : int -> cx:Playground.number -> cy:Playground.number -> radius:Playground.number -> thickness:Playground.number -> inside:bool -> surface
Sourceval empty : int -> surface