Documentation ¶
Overview ¶
Package mob defines the types for the creatures in Teratogen.
Index ¶
- type Fov
- type Mob
- func (m *Mob) AddHealth(amount int)
- func (m *Mob) AddShield(amount int)
- func (m *Mob) BlocksMove() bool
- func (m *Mob) Damage(amount int)
- func (m *Mob) Footprint() *space.FootprintTemplate
- func (m *Mob) Health() int
- func (m *Mob) Icon() gfx.ImageSpec
- func (m *Mob) Init(w *world.World, spec Spec)
- func (m *Mob) MaxHealth() int
- func (m *Mob) Shield() int
- func (m *Mob) Sprite(offset image.Point) gfx.Sprite
- type PC
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fov ¶
type Fov struct {
// contains filtered or unexported fields
}
A field of view for mobs.
func (*Fov) MoveFovOrigin ¶
type Mob ¶
type Mob struct {
// contains filtered or unexported fields
}
func (*Mob) BlocksMove ¶
func (*Mob) Footprint ¶
func (m *Mob) Footprint() *space.FootprintTemplate
Click to show internal directories.
Click to hide internal directories.