Discover Packages
github.com/yoowhi/yarg
pkg
engine
package
Version:
v0.0.0-...-dcead42
Opens a new window with list of versions in this module.
Published: Jan 15, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Actor interface {
GetHealth() int
SetHealth(value int )
GetMaxHealth() int
SetMaxHealth(value int )
GetPosition() h .Vector
SetPosition(value h .Vector )
GetCell() Cell
TakeTurn()
}
type GameObject interface {
GetPosition() h .Vector
SetPosition(value h .Vector )
}
type Item interface {
GetName() string
GetDescription() []string
}
func (p *Pool [T]) Add(actor T)
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.