app/cards/lib/state.js
State = class State {
name() {
return _.startCase(this.constructor.name)
}
image() {
return _.snakeCase(this.constructor.name)
}
type_class() {
return 'state'
}
victory_points() {
return 0
}
point_variable() {
return false
}
to_h() {
return {
name: this.name(),
image: this.image(),
wide: true,
types: 'state'
}
}
}