BattleCity.PowerUp behaviour (battle_city v0.1.3) View Source

PowerUp

Link to this section Summary

Link to this section Types

Specs

t() :: %BattleCity.PowerUp{
  __callbacks__: [BattleCity.Callback.t()],
  __module__: module(),
  duration: duration(),
  id: BattleCity.id(),
  position: BattleCity.Position.t()
}

Link to this section Functions

Link to this section Callbacks

Link to this callback

handle_init(map)

View Source (optional)

Specs

handle_init(map()) :: map() | {:error, :atom}
Link to this callback

handle_off(arg1, arg2)

View Source (optional)

Specs

Specs