Timeline for Passing a list of choices with different arguments for each choice
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 10, 2015 at 13:05 | comment | added | 9a3eedi | This is pretty much what I did, after following @Euphoric 's advice with the Visitor pattern. I also used an interface instead of a class, and added an "execute" function inside each class that implements the interface. The UI currently is command-line based, but that's temporary for testing. Eventually I want to move it to something like Unity or my own Game Engine, which is why I wanted something more generic than a text string. | |
| Nov 10, 2015 at 8:45 | history | answered | Aaron Hawkins | CC BY-SA 3.0 |