mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
docs: Update comments
This commit is contained in:
parent
62bbb8818e
commit
807f91e6ca
3
doc.go
3
doc.go
@ -16,8 +16,10 @@
|
||||
//
|
||||
// You can start the game by calling the function RunGame.
|
||||
//
|
||||
// // Game implements ebiten.Game interface.
|
||||
// type Game struct{}
|
||||
//
|
||||
// // Update proceeds the game state.
|
||||
// // Update is called every frame (1/60 [s]).
|
||||
// func (g *Game) Update(screen *ebiten.Image) error {
|
||||
//
|
||||
@ -52,6 +54,7 @@
|
||||
//
|
||||
// For backward compatibility, you can use a shorthand style Run.
|
||||
//
|
||||
// // update proceeds the game state.
|
||||
// // update is called every frame (1/60 [s]).
|
||||
// func update(screen *ebiten.Image) error {
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user