Cleanup on subtext.

This commit is contained in:
dbenavid
2023-09-05 19:28:25 -04:00
parent 296f56df72
commit 09de5bf455

View File

@@ -10,7 +10,8 @@ import (
) )
const ( const (
splashText = "schmoopysoft" splashText = "schmoopysoft®"
splashSubtext = "\"how was the gravy\"\n- christorpher hollick"
) )
type Splash struct { type Splash struct {
@@ -53,7 +54,7 @@ func (s *Splash) Draw(screen *ebiten.Image) {
y := s.Dimensions.Height / 2 y := s.Dimensions.Height / 2
text.Draw(screen, splashText, splashmenu.SplashFont.MegaTitle, x, y, color.White) text.Draw(screen, splashText, splashmenu.SplashFont.MegaTitle, x, y, color.White)
text.Draw(screen, "\"how was the gravy\"\n- christorpher hollick", splashmenu.SplashFont.Title, x, y+40, color.White) text.Draw(screen, splashSubtext, splashmenu.SplashFont.Title, x, y+40, color.White)
} }
func (s *Splash) SetEventHandler(event groovy.SceneEvent, f func()) { func (s *Splash) SetEventHandler(event groovy.SceneEvent, f func()) {