Documentation ¶
Index ¶
- type Ctrl
- func (c *Ctrl) ApplyDamage(a *core.AttackEvent) float64
- func (c *Ctrl) QueueAttack(a core.AttackInfo, p core.AttackPattern, snapshotDelay int, dmgDelay int, ...)
- func (c *Ctrl) QueueAttackEvent(ae *core.AttackEvent, dmgDelay int)
- func (c *Ctrl) QueueAttackWithSnap(a core.AttackInfo, s core.Snapshot, p core.AttackPattern, dmgDelay int, ...)
- func (c *Ctrl) TargetHasDefMod(key string, param int) bool
- func (c *Ctrl) TargetHasElement(ele core.EleType, param int) bool
- func (c *Ctrl) TargetHasResMod(key string, param int) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctrl ¶
type Ctrl struct {
// contains filtered or unexported fields
}
func (*Ctrl) ApplyDamage ¶
func (c *Ctrl) ApplyDamage(a *core.AttackEvent) float64
func (*Ctrl) QueueAttack ¶
func (c *Ctrl) QueueAttack(a core.AttackInfo, p core.AttackPattern, snapshotDelay int, dmgDelay int, callbacks ...core.AttackCBFunc)
func (*Ctrl) QueueAttackEvent ¶
func (c *Ctrl) QueueAttackEvent(ae *core.AttackEvent, dmgDelay int)
func (*Ctrl) QueueAttackWithSnap ¶
func (c *Ctrl) QueueAttackWithSnap(a core.AttackInfo, s core.Snapshot, p core.AttackPattern, dmgDelay int, callbacks ...core.AttackCBFunc)
Click to show internal directories.
Click to hide internal directories.