Skip to main content
15 events
when toggle format what by license comment
Nov 2, 2017 at 13:08 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Sep 24, 2017 at 22:37 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 22, 2017 at 21:47 history bumped CommunityBot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Jul 21, 2017 at 21:29 answer added Razzek timeline score: 1
S Jul 21, 2017 at 18:48 history suggested CLo
Removed Game-Design tag, added Data-Structure
Jul 21, 2017 at 18:16 review Suggested edits
S Jul 21, 2017 at 18:48
Jul 19, 2017 at 16:14 history tweeted twitter.com/StackGameDev/status/887707126281281536
Jul 18, 2017 at 17:14 history edited reincarnationofstackexchange CC BY-SA 3.0
Broadened question, improved formatting
Jul 18, 2017 at 3:09 comment added reincarnationofstackexchange @DH, could you elaborate? How would I cast a skill using an Enum? For example, how would I store the data related to the skill such as casting cost, skill name, bool requiresTarget, etc?
Jul 17, 2017 at 20:11 history edited reincarnationofstackexchange CC BY-SA 3.0
Made a more detailed description of problem
Jul 17, 2017 at 19:29 comment added House Before we can tell you how to design it, you need to tell us how you're going to use it. Are you really just calling methods without passing in any arguments or returning any data? You don't need to, for example, apply a skill to an object and retrieve a result about that action?
Jul 17, 2017 at 18:15 comment added DH. Your code so far could be easily replaced with an Enum, that's just overkill.
Jul 17, 2017 at 17:48 comment added wondra Can you describe more in detail how it should work, what should it allow and how it should be used? What do you need static mapping of implementations to integers for in the first place?
Jul 17, 2017 at 17:40 history edited Vaillancourt CC BY-SA 3.0
Can't ask for "best way" here, it's very subjective. But you still can ask how you could do it :)
Jul 17, 2017 at 17:30 history asked reincarnationofstackexchange CC BY-SA 3.0