Documentation ¶
Index ¶
- func NewChar(s *core.Core, w *character.CharWrapper, _ profile.CharacterProfile) error
- func NewFakeWeapon(_ *core.Core, _ *character.CharWrapper, _ weapon.WeaponProfile) (weapon.Weapon, error)
- type Character
- func (c *Character) ActionReady(a action.Action, p map[string]int) (bool, action.ActionFailure)
- func (c *Character) ActionStam(a action.Action, p map[string]int) float64
- func (c *Character) Charges(a action.Action) int
- func (c *Character) Cooldown(a action.Action) int
- func (c *Character) Init() error
- func (c *Character) ReduceActionCooldown(a action.Action, v int)
- func (c *Character) ResetActionCooldown(a action.Action)
- func (c *Character) SetCD(a action.Action, dur int)
- func (h *Character) SetCDWithDelay(a action.Action, dur int, delay int)
- func (c *Character) Snapshot(a *combat.AttackInfo) combat.Snapshot
- type Weapon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChar ¶
func NewChar(s *core.Core, w *character.CharWrapper, _ profile.CharacterProfile) error
func NewFakeWeapon ¶
func NewFakeWeapon(_ *core.Core, _ *character.CharWrapper, _ weapon.WeaponProfile) (weapon.Weapon, error)
Types ¶
type Character ¶
type Character struct {
*character.CharWrapper
}
func (*Character) ActionReady ¶
func (*Character) ActionStam ¶
func (*Character) ReduceActionCooldown ¶
func (*Character) ResetActionCooldown ¶
func (*Character) SetCDWithDelay ¶
Click to show internal directories.
Click to hide internal directories.