-->
0 Members and 1 Guest are viewing this topic.
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13
Well, the combobox does have a sorted property, but using that just tears the program apart. I'm trying to think of a way to tell it which type it should be looking at when sorting the list before putting it into the combobox, because the normal Sort( commands just moves the name of the item and not all of the other members of that class. (I'm pretty sure Psychic isn't a normal move with 40 power and 30 pp).
public override bool Equals(object obj){ return string.Equals(name, obj);}
public override string ToString() { return name; }
allMoves[index] = new Move(index, name, type, pp, power, accuracy); movesComboBox.Items.Add(allMoves[index]);