aboutsummaryrefslogtreecommitdiff
path: root/examples/examples.go
blob: 9e18d6b79d4979d87df98cf32aeafb8ac3ae41f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

package examples

import (
	"age_of_empires/engine"

	"github.com/hajimehoshi/ebiten/v2/text/v2"
)

type BuilderDeps struct {
	FaceSource  *text.GoTextFaceSource
	UnitBuilder engine.EntityBuilder
}

type Entry struct {
	Name        string
	Description string
	Build       func(*engine.Game, BuilderDeps)
}

var Registry = map[string]Entry{}