secret-hitler/game/state/card.go

18 lines
236 B
Go

package state
type CardState struct {
IsFacist bool
IsDrawn bool
IsPlayed bool
IsDiscarded bool
}
func (state CardState) Redact(alignment Alignment) CardState {
state2 := state
state2.IsFacist = false
return state2
}