Ascii.Animation (Ascii v0.3.0)

Copy Markdown View Source

A piece being played: its module and options, how it is drawn, and its state so far. Made by Ascii.new/2 and advanced by Ascii.frame/3.

Summary

Types

t()

@type t() :: %Ascii.Animation{
  color?: boolean(),
  cols: pos_integer(),
  fps: 0..60,
  ink: Ascii.Ink.t() | nil,
  meta: Ascii.Meta.t(),
  module: module(),
  options: map(),
  paper: boolean(),
  rows: pos_integer(),
  state: term()
}