Documentation ¶
Index ¶
- func NewChar(gender int) core.NewCharacterFunc
- type LeaLotus
- func (s *LeaLotus) AuraContains(e ...attributes.Element) bool
- func (s *LeaLotus) CalcTempDirection(trg combat.Point) combat.Point
- func (s *LeaLotus) HandleAttack(atk *combat.AttackEvent) float64
- func (l *LeaLotus) QueueAttack(delay int)
- func (r *LeaLotus) React(a *combat.AttackEvent)
- func (s *LeaLotus) SetDirection(trg combat.Point)
- func (s *LeaLotus) SetDirectionToClosestEnemy()
- func (s *LeaLotus) Tick()
- func (s *LeaLotus) TryBloom(a *combat.AttackEvent)
- func (s *LeaLotus) TryBurning(a *combat.AttackEvent)
- func (s *LeaLotus) TryQuicken(a *combat.AttackEvent)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChar ¶
func NewChar(gender int) core.NewCharacterFunc
Types ¶
type LeaLotus ¶
type LeaLotus struct { *gadget.Gadget *reactable.Reactable // contains filtered or unexported fields }
func (*LeaLotus) AuraContains ¶
func (s *LeaLotus) AuraContains(e ...attributes.Element) bool
func (*LeaLotus) CalcTempDirection ¶ added in v1.6.0
func (*LeaLotus) HandleAttack ¶
func (s *LeaLotus) HandleAttack(atk *combat.AttackEvent) float64
func (*LeaLotus) QueueAttack ¶
func (*LeaLotus) React ¶
func (r *LeaLotus) React(a *combat.AttackEvent)
func (*LeaLotus) SetDirection ¶ added in v1.6.0
func (*LeaLotus) SetDirectionToClosestEnemy ¶ added in v1.6.0
func (s *LeaLotus) SetDirectionToClosestEnemy()
func (*LeaLotus) TryBloom ¶
func (s *LeaLotus) TryBloom(a *combat.AttackEvent)
func (*LeaLotus) TryBurning ¶
func (s *LeaLotus) TryBurning(a *combat.AttackEvent)
func (*LeaLotus) TryQuicken ¶
func (s *LeaLotus) TryQuicken(a *combat.AttackEvent)
Click to show internal directories.
Click to hide internal directories.