mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
Fix doc
This commit is contained in:
parent
d88261ae37
commit
1f19cc3506
@ -22,7 +22,7 @@ table.examples td.code pre {
|
||||
</style>
|
||||
<h1>Ebiten (海老天) v1.0.0-alpha</h1>
|
||||
<ul>
|
||||
<li>A simple 2D game library in Go</li>
|
||||
<li>A simple SNES-like 2D game library in Go</li>
|
||||
<li>Works on
|
||||
<ul>
|
||||
<li>Mac OS X</li>
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Ebiten (海老天) v1.0.0-alpha
|
||||
|
||||
* A simple 2D game library in Go
|
||||
* A simple SNES-like 2D game library in Go
|
||||
* Works on
|
||||
* Mac OS X
|
||||
* 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,
|
||||
// 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 {
|
||||
err := startUI(width, height, scale, title)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user