package elm_playground_gamekits

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

Module ShotsSource

Sourcetype t = {
  1. x : Playground.number;
  2. y : Playground.number;
  3. vx : Playground.number;
  4. vy : Playground.number;
}
Sourceval straight : Playground.number -> Playground.number -> Playground.number -> Playground.number -> t
Sourceval aimed : Playground.number -> (Playground.number * Playground.number) -> (Playground.number * Playground.number) -> t
Sourceval advance : t -> t
Sourceval on_screen : Playground.number -> Playground.screen -> t -> bool
Sourceval near : Playground.number -> (Playground.number * Playground.number) -> t -> bool
Sourceval angle : t -> Playground.number