wip I guess
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user