Documentation ¶
Index ¶
- func LoadImage(filepath string) *ebiten.Image
- type GameState
- type OverworldScene
- type ScavengeScene
- func (s *ScavengeScene) Draw(screen *ebiten.Image)
- func (s *ScavengeScene) Init()
- func (s *ScavengeScene) InitJunkList()
- func (s *ScavengeScene) ReadInput()
- func (s *ScavengeScene) SelectJunk(castDistance float64) entities.JunkObject
- func (s *ScavengeScene) Update(state *GameState, deltaTime float64) error
- type Scene
- type SceneManager
- type Tile
- type TileMap
- type TitleScene
- type WinScene
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GameState ¶
type GameState struct {
SceneManager *SceneManager
}
type OverworldScene ¶
type OverworldScene struct {
// contains filtered or unexported fields
}
func (*OverworldScene) Draw ¶
func (o *OverworldScene) Draw(screen *ebiten.Image)
func (*OverworldScene) DrawOverlay ¶
func (o *OverworldScene) DrawOverlay(screen *ebiten.Image)
func (*OverworldScene) Init ¶
func (o *OverworldScene) Init()
func (*OverworldScene) ReadInput ¶
func (o *OverworldScene) ReadInput()
type ScavengeScene ¶
type ScavengeScene struct { UIPipeSprite *ebiten.Image UIPosition basics.Vector2f // contains filtered or unexported fields }
func (*ScavengeScene) Draw ¶
func (s *ScavengeScene) Draw(screen *ebiten.Image)
func (*ScavengeScene) Init ¶
func (s *ScavengeScene) Init()
func (*ScavengeScene) InitJunkList ¶
func (s *ScavengeScene) InitJunkList()
func (*ScavengeScene) ReadInput ¶
func (s *ScavengeScene) ReadInput()
func (*ScavengeScene) SelectJunk ¶
func (s *ScavengeScene) SelectJunk(castDistance float64) entities.JunkObject
type SceneManager ¶
type SceneManager struct {
// contains filtered or unexported fields
}
func (*SceneManager) Draw ¶
func (s *SceneManager) Draw(screen *ebiten.Image)
func (*SceneManager) GoTo ¶
func (s *SceneManager) GoTo(scene Scene, fadeTime float64)
func (*SceneManager) ReadInput ¶
func (s *SceneManager) ReadInput()
func (*SceneManager) Update ¶
func (s *SceneManager) Update(deltaTime float64) error
type TitleScene ¶
type TitleScene struct {
// contains filtered or unexported fields
}
func (*TitleScene) Draw ¶
func (t *TitleScene) Draw(screen *ebiten.Image)
func (*TitleScene) Init ¶
func (t *TitleScene) Init()
func (*TitleScene) ReadInput ¶
func (t *TitleScene) ReadInput()
Click to show internal directories.
Click to hide internal directories.