mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Fix doc (#1046)
This commit is contained in:
parent
9e51e6796d
commit
64e838584a
5
doc.go
5
doc.go
@ -43,11 +43,12 @@
|
||||
// }
|
||||
//
|
||||
// func main() {
|
||||
// game := &Game{}
|
||||
// // Sepcify the window size as you like. Here, a doulbed size is specified.
|
||||
// ebiten.SetWindowSize(640, 480)
|
||||
// ebiten.SetTitle("Your game's title")
|
||||
// ebiten.SetWindowTitle("Your game's title")
|
||||
// // Call ebiten.RunGame to start your game loop.
|
||||
// if err := ebiten.Run(game); err != nil {
|
||||
// if err := ebiten.RunGame(game); err != nil {
|
||||
// log.Fatal(err)
|
||||
// }
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user