Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreepSnowblower = iota + 1 CreepSmallRock CreepMediumRock CreepLargeRock )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreepBullet ¶
type CreepBullet struct {
Invulnerable bool // Invulnerable to hazards
}
type PlayerBullet ¶
type PlayerBullet struct {
}
type Sprite ¶
type Sprite struct {
Image *ebiten.Image
HorizontalFlip bool
VerticalFlip bool
DiagonalFlip bool // TODO unimplemented
Angle float64
Overlay *ebiten.Image
OverlayX, OverlayY float64 // Overlay offset
Frame int
Frames []*ebiten.Image
FrameTime time.Duration
LastFrame time.Time
NumFrames int
DamageTicks int
OverrideColorScale bool
ColorScale float64
}
Click to show internal directories.
Click to hide internal directories.