mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
18 lines
279 B
Go
18 lines
279 B
Go
package ebiten
|
|
|
|
type UI interface {
|
|
Start(widht, height, scale int, title string) (Canvas, error)
|
|
DoEvents()
|
|
Terminate()
|
|
}
|
|
|
|
// FIXME: rename this
|
|
type Drawer2 interface {
|
|
Draw(c GraphicsContext) error
|
|
}
|
|
|
|
type Canvas interface {
|
|
Draw(drawer Drawer2) error
|
|
IsClosed() bool
|
|
}
|