next up previous
Next: Cookie Groups and the Up: Implementation Previous: Implementation

Framework

To create an environment where all of these strategies could easily coexist and use common code, we developed a framework to abstract various operations on cookie objects, as well as the supporting code for the strategy pattern. With this framework, we could manipulate entire cookies instead of having to worry about low-level details such as vertices and rotations. This allowed us to prototype, implement, and refine strategies very quickly in only a few dozen lines of code.



2003-10-14