package stacks import ( "git.vezzani.net/ben/games/common/elements/v1/base" ) type OptFunc func(*Stack) func Core(f base.OptFunc) OptFunc { return func(s *Stack) { f(&s.Base) } } func Horizontal() OptFunc { return func(s *Stack) { s.horizontal = true } }