enemies

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: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleEnemy

type SimpleEnemy struct {
	humanoid.Humanoid
	// contains filtered or unexported fields
}

func NewSimpleHumanEnemy

func NewSimpleHumanEnemy(name string) *SimpleEnemy

func NewSimpleOrcEnemy

func NewSimpleOrcEnemy(name string) *SimpleEnemy

func NewSimpleSkeletonEnemy

func NewSimpleSkeletonEnemy(name string) *SimpleEnemy

func NewSimpleZombieEnemy

func NewSimpleZombieEnemy(name string) *SimpleEnemy

func (*SimpleEnemy) Evil

func (e *SimpleEnemy) Evil()

func (*SimpleEnemy) SeeTarget

func (e *SimpleEnemy) SeeTarget(t entity.IEntity)

func (*SimpleEnemy) Target

func (e *SimpleEnemy) Target() entity.IEntity

func (*SimpleEnemy) TargetSeeDistance

func (e *SimpleEnemy) TargetSeeDistance() float32

func (*SimpleEnemy) Think

func (e *SimpleEnemy) Think()

Jump to

Keyboard shortcuts

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