We can reach the bridge \o/

This commit is contained in:
2020-03-26 23:35:34 +00:00
parent e4ce932324
commit 79bfab7d6b
9 changed files with 230 additions and 69 deletions

View File

@@ -2,6 +2,7 @@ package ui
import (
"image"
"log"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"
@@ -91,6 +92,8 @@ func registerOverlay(d *Driver, r *menus.Record) error {
ebitenutil.DebugPrint(textImg, r.Text)
ni.textImg = textImg
} else {
log.Printf("Overlay without text detected: %#+v", r)
}
d.paintables = append(d.paintables, ni)