Originally, we implemented AppliesToSingletonState as the way of marking a state as a singleton. This is an artifact of how states were originally defined in early versions of Verbs. A much more straightforward approach is to just have a SingletonState class. This allows us to avoid passing singleton: true all over the place, and is just more obvious and simple.
Originally, we implemented
AppliesToSingletonState
as the way of marking a state as a singleton. This is an artifact of how states were originally defined in early versions of Verbs. A much more straightforward approach is to just have aSingletonState
class. This allows us to avoid passingsingleton: true
all over the place, and is just more obvious and simple.