reorganised Run
This commit is contained in:
parent
1a63808236
commit
9e24d555a1
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.2 KiB |
6
main.go
6
main.go
|
@ -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{})
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue