Object protocol (battle_city v0.1.8) View Source

Link to this section Summary

Link to this section Types

Specs

kv() :: {t(), value()}

Specs

t() :: %Object{
  enemy?: boolean() | nil,
  id: BattleCity.id(),
  type: BattleCity.short_type()
}

Specs

value() :: BattleCity.Position.direction() | nil

Link to this section Functions

Specs

fingerprint(term()) :: {t(), value()}