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
0ce36747a7b75978e9c7202306d9f217543d5a3a
wagic
/
projects
/
mtg
/
include
/
CardSelector.h
T
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
2.2 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink