loading?
This commit is contained in:
parent
d477bec7ea
commit
12bec39c07
2 changed files with 14 additions and 3 deletions
|
@ -34,13 +34,12 @@ func init() {
|
|||
}
|
||||
|
||||
// Game implements the ebiten methods using a collection of components. One
|
||||
// component must be the designated root component - usually a scene of some
|
||||
// kind.
|
||||
// component must be the designated root component.
|
||||
type Game struct {
|
||||
Disables
|
||||
Hides
|
||||
ScreenSize image.Point
|
||||
Root Drawer // usually a DrawManager
|
||||
Root Drawer
|
||||
Projection geom.Projector
|
||||
VoxelScale geom.Float3
|
||||
|
||||
|
|
12
engine/loading.go
Normal file
12
engine/loading.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package engine
|
||||
|
||||
import (
|
||||
"github.com/hajimehoshi/ebiten/v2"
|
||||
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
|
||||
)
|
||||
|
||||
type LoadingScreen struct{}
|
||||
|
||||
func (LoadingScreen) Draw(screen *ebiten.Image, _ *ebiten.DrawImageOptions) {
|
||||
ebitenutil.DebugPrint(screen, "Loading...")
|
||||
}
|
Loading…
Reference in a new issue