mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +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.
|
// You can start the game by calling the function RunGame.
|
||||||
//
|
//
|
||||||
|
// // Game implements ebiten.Game interface.
|
||||||
// type Game struct{}
|
// type Game struct{}
|
||||||
//
|
//
|
||||||
|
// // Update proceeds the game state.
|
||||||
// // Update is called every frame (1/60 [s]).
|
// // Update is called every frame (1/60 [s]).
|
||||||
// func (g *Game) Update(screen *ebiten.Image) error {
|
// func (g *Game) Update(screen *ebiten.Image) error {
|
||||||
//
|
//
|
||||||
@ -52,6 +54,7 @@
|
|||||||
//
|
//
|
||||||
// For backward compatibility, you can use a shorthand style Run.
|
// For backward compatibility, you can use a shorthand style Run.
|
||||||
//
|
//
|
||||||
|
// // update proceeds the game state.
|
||||||
// // update is called every frame (1/60 [s]).
|
// // update is called every frame (1/60 [s]).
|
||||||
// func update(screen *ebiten.Image) error {
|
// func update(screen *ebiten.Image) error {
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user