(props BlockProperties)
| 19 | } |
| 20 | |
| 21 | func (b CherryButton) New(props BlockProperties) Block { |
| 22 | return CherryButton{ |
| 23 | Facing: props["facing"], |
| 24 | Powered: props["powered"] != "false", |
| 25 | Face: props["face"], |
| 26 | } |
| 27 | } |
nothing calls this directly
no outgoing calls
no test coverage detected