Ran gofmt
This commit is contained in:
parent
003fb15ecf
commit
291aff7aea
@ -1,20 +1,20 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "image/jpeg"
|
||||
"fmt"
|
||||
"github.com/golang/freetype/truetype"
|
||||
"golang.org/x/image/font"
|
||||
"image/color"
|
||||
_ "image/jpeg"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"strings"
|
||||
"github.com/golang/freetype/truetype"
|
||||
"golang.org/x/image/font"
|
||||
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
"github.com/hajimehoshi/ebiten/text"
|
||||
"github.com/hajimehoshi/ebiten/audio"
|
||||
"github.com/hajimehoshi/ebiten/audio/mp3"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
"github.com/hajimehoshi/ebiten/text"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -106,7 +106,6 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func update(screen *ebiten.Image) error {
|
||||
|
||||
if ebiten.IsRunningSlowly() {
|
||||
@ -121,7 +120,7 @@ func update(screen *ebiten.Image) error {
|
||||
}
|
||||
}
|
||||
action = strings.Split(messages[line].Text, " ")
|
||||
if (action[0] == "playSong") {
|
||||
if action[0] == "playSong" {
|
||||
if line+1 != len(messages) {
|
||||
playSong(action[1])
|
||||
line++
|
||||
|
Loading…
Reference in New Issue
Block a user