register logic
This commit is contained in:
@@ -4,33 +4,6 @@ import (
|
||||
inkwell "git.teletypegames.org/engines/inkwell"
|
||||
)
|
||||
|
||||
func registerBackground(w *World) {
|
||||
for _, a := range []inkwell.Asset{
|
||||
backgroundSelector(),
|
||||
backgroundPaulShop(),
|
||||
backgroundNoodleHouse(),
|
||||
backgroundNormanApartment(),
|
||||
backgroundPoliceStation(),
|
||||
backgroundAlley(),
|
||||
backgroundHackerspace(),
|
||||
backgroundIceCreamShop(),
|
||||
backgroundTrinketShop(),
|
||||
backgroundSmallRestaurant(),
|
||||
backgroundSecretClub(),
|
||||
backgroundBbsTerminal(),
|
||||
backgroundStreet(),
|
||||
backgroundHospital(),
|
||||
backgroundServerFarm(),
|
||||
backgroundSecretLab(),
|
||||
backgroundRooftopHideout(),
|
||||
backgroundPublicBBS(),
|
||||
backgroundBvkBranch(),
|
||||
backgroundCuratorShop(),
|
||||
backgroundScrapMarket(),
|
||||
backgroundSamizdatPress(),
|
||||
backgroundShowroom(),
|
||||
backgroundColumbarium(),
|
||||
} {
|
||||
w.G.AssetManager.Register(a)
|
||||
}
|
||||
}
|
||||
type Background = inkwell.Asset
|
||||
|
||||
var BackgroundManager = NewManager(func(entity Background) string { return entity.Name })
|
||||
|
||||
Reference in New Issue
Block a user