Quantcast
Channel: Latest Questions by Nynex71
Viewing all articles
Browse latest Browse all 46

How would i use a enum?

$
0
0

I've seen others use enums before but i want to know if i can use it in this case...

Lets say im building some sort of skill manager type thing

and i use a enum like this...

public enum Skills
    name,
    icon,
    difficulty

three thing i need to say/ask, 1. How would i even create the enum im most likely guessing im using the wrong format. 2. Can i use it in this case 3. How would i call it to make more skills... like attack and shit like that


Viewing all articles
Browse latest Browse all 46

Latest Images

Trending Articles





Latest Images