Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source interface {
HealingSource()
}
Source represents a source of healing for an entity. This source may be passed to the Living.Heal() method of a living entity.
type SourceFood ¶
type SourceFood struct{}
SourceFood is a healing source used for when an entity regenerates health automatically when their food bar is at least 90% filled.
func (SourceFood) HealingSource ¶ added in v0.7.0
func (SourceFood) HealingSource()
type SourceInstantHealthEffect ¶
type SourceInstantHealthEffect struct{}
SourceInstantHealthEffect is a healing source used when an entity regenerations due to an Instant Health effect.
func (SourceInstantHealthEffect) HealingSource ¶ added in v0.7.0
func (SourceInstantHealthEffect) HealingSource()
type SourceRegenerationEffect ¶
type SourceRegenerationEffect struct{}
SourceRegenerationEffect is a healing source used when an entity regenerates due to the Regeneration effect.
func (SourceRegenerationEffect) HealingSource ¶ added in v0.7.0
func (SourceRegenerationEffect) HealingSource()
Click to show internal directories.
Click to hide internal directories.