Cleanup on subtext.
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user