mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
examples/text: remove a dependency on math/rand
This commit is contained in:
parent
1a9bff390d
commit
1514749041
@ -18,9 +18,7 @@ import (
|
||||
"image/color"
|
||||
"log"
|
||||
"math"
|
||||
"math/rand"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"golang.org/x/image/font"
|
||||
"golang.org/x/image/font/opentype"
|
||||
@ -70,10 +68,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
}
|
||||
|
||||
type Game struct {
|
||||
counter int
|
||||
kanjiText []rune
|
||||
|
Loading…
Reference in New Issue
Block a user