player

package
v0.0.0-...-b8d9494 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HumanPlayer

type HumanPlayer struct {
	humanoid.Humanoid
}

func New

func New(name string, useSlotsCount, itemCount int) *HumanPlayer

func (*HumanPlayer) Damaged

func (e *HumanPlayer) Damaged(damage float32)

func (*HumanPlayer) Good

func (e *HumanPlayer) Good()

func (*HumanPlayer) PickUp

func (e *HumanPlayer) PickUp(i entity.IItem)

func (*HumanPlayer) Think

func (e *HumanPlayer) Think()

func (*HumanPlayer) WantToPickUp

func (e *HumanPlayer) WantToPickUp(i entity.IItem) bool

Jump to

Keyboard shortcuts

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