remove another unneeded file, add contents to window
This commit is contained in:
parent
d271e2a0c2
commit
3ee908c191
@ -1,17 +0,0 @@
|
||||
package platform
|
||||
|
||||
type Scene interface {
|
||||
Name() string
|
||||
}
|
||||
|
||||
type SceneCreator interface {
|
||||
Create() error
|
||||
}
|
||||
|
||||
type SceneAdvancer interface {
|
||||
Advance() error
|
||||
}
|
||||
|
||||
type SceneDestroyer interface {
|
||||
Destroy() error
|
||||
}
|
@ -16,6 +16,22 @@ var (
|
||||
ErrWindowNotExists = errors.New("no window has been created")
|
||||
)
|
||||
|
||||
type Scene interface {
|
||||
Name() string
|
||||
}
|
||||
|
||||
type SceneCreator interface {
|
||||
Create() error
|
||||
}
|
||||
|
||||
type SceneAdvancer interface {
|
||||
Advance() error
|
||||
}
|
||||
|
||||
type SceneDestroyer interface {
|
||||
Destroy() error
|
||||
}
|
||||
|
||||
var windowState struct {
|
||||
sdlWindow *sdl.Window
|
||||
sdlGlContext sdl.GLContext
|
||||
|
Loading…
Reference in New Issue
Block a user