mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
Fix doc
This commit is contained in:
parent
d88261ae37
commit
1f19cc3506
@ -22,7 +22,7 @@ table.examples td.code pre {
|
|||||||
</style>
|
</style>
|
||||||
<h1>Ebiten (海老天) v1.0.0-alpha</h1>
|
<h1>Ebiten (海老天) v1.0.0-alpha</h1>
|
||||||
<ul>
|
<ul>
|
||||||
<li>A simple 2D game library in Go</li>
|
<li>A simple SNES-like 2D game library in Go</li>
|
||||||
<li>Works on
|
<li>Works on
|
||||||
<ul>
|
<ul>
|
||||||
<li>Mac OS X</li>
|
<li>Mac OS X</li>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Ebiten (海老天) v1.0.0-alpha
|
# Ebiten (海老天) v1.0.0-alpha
|
||||||
|
|
||||||
* A simple 2D game library in Go
|
* A simple SNES-like 2D game library in Go
|
||||||
* Works on
|
* Works on
|
||||||
* Mac OS X
|
* Mac OS X
|
||||||
* Linux (maybe)
|
* Linux (maybe)
|
||||||
|
2
run.go
2
run.go
@ -26,7 +26,7 @@ import (
|
|||||||
//
|
//
|
||||||
// The given function f is expected to be called 60 times a second,
|
// The given function f is expected to be called 60 times a second,
|
||||||
// but this is not strictly guaranteed.
|
// but this is not strictly guaranteed.
|
||||||
// If you need to care about time, you need to check the current time in f.
|
// If you need to care about time, you need to check current time every time f is called.
|
||||||
func Run(f func(*Image) error, width, height, scale int, title string) error {
|
func Run(f func(*Image) error, width, height, scale int, title string) error {
|
||||||
err := startUI(width, height, scale, title)
|
err := startUI(width, height, scale, title)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user