reorganised Run

This commit is contained in:
Squishy Bloob 2024-03-24 00:14:26 +00:00
parent 1a63808236
commit 9e24d555a1
3 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1,10 +1,10 @@
package main
import (
. "git.danitheskunk.com/squishy/blooblib"
. "git.danitheskunk.com/squishy/goo/src"
run "git.danitheskunk.com/squishy/blooblib/Run"
"git.danitheskunk.com/squishy/goo/src"
)
func main() {
Run(&Game{})
run.Run(&src.Game{})
}

View File

@ -34,6 +34,7 @@ func (g *Game) Render(bloob *Bloob, screen *Image) {
screen.DrawTextOutline("P:10 T:23:24 B:3", DefaultFontThin, Vec2i{X: 19, Y: 162}, color.White, color.Black)
screen.DrawTextOutline("Tomato Kigu", DefaultFontThin, Vec2i{X: 19, Y: 317}, color.White, color.Black)
screen.DrawTextOutline("P:3 T: 3:24 B:2", DefaultFontThin, Vec2i{X: 19, Y: 328}, color.White, color.Black)
screen.DrawTextOutline("Chat Log Conf", DefaultFontThin, Vec2i{X: 496, Y: 5}, color.White, color.Black)
if mouseTilePos.X >= 10 && mouseTilePos.Y >= 1 && mouseTilePos.X < 29 && mouseTilePos.Y < 20 {
tilePos := Sub(mouseTilePos, Vec2i{X: 10, Y: 1})
g.boardState.DrawHover(screen, tilePos, Black)