healing

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 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 {
	// contains filtered or unexported methods
}

Source represents a source of healing for an entity. This source may be passed to the Heal() method of a living entity.

type SourceCustom

type SourceCustom struct{}

SourceCustom is a healing source that may be used by users to represent a custom healing source.

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.

type SourceInstantHealthEffect

type SourceInstantHealthEffect struct{}

SourceInstantHealthEffect is a healing source used when an entity regenerations due to an Instant Health effect.

type SourceRegenerationEffect

type SourceRegenerationEffect struct{}

SourceRegenerationEffect is a healing source used when an entity regenerates due to the Regeneration effect.

Jump to

Keyboard shortcuts

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