BattleCity.Tank.Base behaviour (battle_city v0.1.8) View Source
Base Tank
Link to this section Summary
Link to this section Types
Specs
t() :: %BattleCity.Tank.Base{ __module__: module(), bullet_reinforced?: boolean(), bullet_speed: BattleCity.Position.speed(), health: BattleCity.Tank.health(), level: BattleCity.level(), move_speed: BattleCity.Position.speed(), points: BattleCity.Tank.points() }
Link to this section Callbacks
Specs
Specs
handle_level_up(BattleCity.Tank.t()) :: module()
Specs
new() :: BattleCity.Tank.t()
Specs
new(map()) :: BattleCity.Tank.t()