Closed jeaye closed 11 years ago
I specifically want to be able to swap states, or pop a specific state. This should be done by each state having a tag (enum) so that it can be referenced quickly. It's O(n), but n is pretty damn small.
I specifically want to be able to swap states, or pop a specific state. This should be done by each state having a tag (enum) so that it can be referenced quickly. It's O(n), but n is pretty damn small.