Skip to content

v06 solitaire controllers PileController.inhab

George Heineman edited this page Feb 8, 2018 · 1 revision
// Note: assumes import of kind
//    gameType ~> narcotic

// can be overridden if multiple are needed. This just expands to ""
// PileDesignate: #[alpha.gameType, pileControllerName]
// can't be overridden so can't be included here... Would be nice to be able to
// define "default behavior" to be overridden as needed. Can't do just yet.

PileController : #[alpha.gameType, namerule] ->
				#[alpha.gameType, pilePressed] ->
				#[alpha.gameType, pileClicked] ->
				#[alpha.gameType, pileReleased] ->
				#[alpha.gameType, pileControllerName] ->
				#[alpha.gameType, pileController]