healing

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 0 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL