BattleCity.Bullet (battle_city v0.1.2) View Source

Bullet

Link to this section Summary

Link to this section Types

Specs

power() :: 1..10

Specs

t() :: %BattleCity.Bullet{
  __callbacks__: [BattleCity.Callback.t()],
  dead?: boolean(),
  enemy?: boolean(),
  hidden?: boolean(),
  id: BattleCity.id(),
  position: BattleCity.Position.t(),
  power: power(),
  reason: BattleCity.reason(),
  speed: BattleCity.Position.speed(),
  tank_id: BattleCity.id()
}