Skip to content

Commit

Permalink
Fix doc (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroebe authored and hajimehoshi committed Jan 6, 2020
1 parent 9e51e67 commit 64e8385
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
// }
// }
Expand Down

0 comments on commit 64e8385

Please sign in to comment.