wip I guess

This commit is contained in:
2025-09-05 21:21:18 -04:00
parent 4e6d720a91
commit 9a4993570e
10 changed files with 143 additions and 112 deletions

View File

@@ -1,12 +1,14 @@
package stacks
import "git.vezzani.net/ben/games/common/elements/v1"
import (
"git.vezzani.net/ben/games/common/elements/v1/base"
)
type OptFunc func(*Stack)
func Core(f elements.OptFunc) OptFunc {
func Core(f base.OptFunc) OptFunc {
return func(s *Stack) {
f(&s.Core)
f(&s.Base)
}
}