ElixirDoom.Render.Automap (elixir_doom v0.2.0)

Copy Markdown View Source

The automap: the lines of the level the player has seen (all of them with the computer map), drawn around the player's arrow on black.

frame = ElixirDoom.Render.Automap.frame(view, {640, 336}, seen_key)

Summary

Functions

The automap of a level view, width by height, from the lines seen under key.

Functions

frame(view, arg, key)

@spec frame(map(), {pos_integer(), pos_integer()}, term()) ::
  Cauldron2D.Sectors.Frame.t()

The automap of a level view, width by height, from the lines seen under key.