This website requires JavaScript.
Explore
Help
Sign In
Mahtan
/
wagic
Watch
1
Star
0
Fork
0
You've already forked wagic
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
e2de03d987ecd6fbd334ce76e6f47f5ac63087c6
wagic
/
projects
History
wrenczes@gmail.com
e2de03d987
Some organisational prep work before I start working on a new navigation method (ie replacement for CardSelector). The current design was to allocate a CardSelector and pass in its pointer to a variety of classes via their constructors. To simplify things, now we use a singleton style pattern with an Instance() function - this means that when I implement a new class to replace CardSelector, I only need to modify what's returned by the singleton callback - as long as the new pointer class supports the same function calls, it'll be a straight drop-in.
2010-10-22 08:41:44 +00:00
..
mtg
Some organisational prep work before I start working on a new navigation method (ie replacement for CardSelector). The current design was to allocate a CardSelector and pass in its pointer to a variety of classes via their constructors. To simplify things, now we use a singleton style pattern with an Instance() function - this means that when I implement a new class to replace CardSelector, I only need to modify what's returned by the singleton callback - as long as the new pointer class supports the same function calls, it'll be a straight drop-in.
2010-10-22 08:41:44 +00:00