Documentation ¶
Index ¶
- type Entity
- func (e *Entity) Draw()
- func (e *Entity) HealthPoint() int
- func (e *Entity) Hit(hitPoint int)
- func (e *Entity) IntroMove()
- func (e *Entity) IntroUpdate()
- func (e *Entity) IsVulnerable() bool
- func (e *Entity) Move()
- func (e *Entity) Position() img.Position
- func (e *Entity) SetHealthPoint(hp int)
- func (e *Entity) Update(missilesIdx *int, missileEntities []*missile.Entity)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct {
// contains filtered or unexported fields
}
func (*Entity) HealthPoint ¶
func (*Entity) IntroUpdate ¶
func (e *Entity) IntroUpdate()
func (*Entity) IsVulnerable ¶
func (*Entity) SetHealthPoint ¶
Click to show internal directories.
Click to hide internal directories.