Documentation ¶
Index ¶
- type Gadget
- func (s *Gadget) Attack(*combat.AttackEvent, glog.Event) (float64, bool)
- func (s *Gadget) CalcTempDirection(trg geometry.Point) geometry.Point
- func (s *Gadget) HandleAttack(*combat.AttackEvent) float64
- func (s *Gadget) SetDirection(trg geometry.Point)
- func (s *Gadget) SetDirectionToClosestEnemy()
- func (s *Gadget) Type() targets.TargettableType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gadget ¶
func (*Gadget) CalcTempDirection ¶
func (*Gadget) HandleAttack ¶
func (s *Gadget) HandleAttack(*combat.AttackEvent) float64
func (*Gadget) SetDirection ¶
func (*Gadget) SetDirectionToClosestEnemy ¶
func (s *Gadget) SetDirectionToClosestEnemy()
func (*Gadget) Type ¶
func (s *Gadget) Type() targets.TargettableType
Click to show internal directories.
Click to hide internal directories.