Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Minion ¶
type Minion struct {
X, H int //X=XP, H=Health
}
Minion represents a minion P&P player The zero value is a dead minion player.
func (*Minion) ApplyHealthDiff ¶
ApplyHealthDiff adds the given health to the player's health down to a minimum of 0 and up to 100
func (*Minion) ApplyXPDiff ¶
ApplyXPDiff adds the given xp to the player's xp down to a minimum of 0
Click to show internal directories.
Click to hide internal directories.