pwsacademy / around-the-table

An open source platform that supports tabletop gaming communities, written in Swift.
BSD 2-Clause "Simplified" License
19 stars 4 forks source link

Use separate stencils per use case #66

Closed svanimpe closed 6 years ago

svanimpe commented 6 years ago

The complexity of stencils can be greatly reduced (at the cost of some duplication) by separating them into use cases and rendering the appropriate one. A good example of this is game.stencil, which shows different content based on the type of user.