Sunday, November 9, 2014

Creating an enum with String and Method


How would I go about and make an enum, that has Strings and Methods? Can't find much help online


EDIT: Hmm, this is too vague, I can't explain too well, I want to make a class called GraphicalEffects, this class and be instanstiated and it has a method to apply graphicalEffects AS methods or some type of references to methods in an ArrayList. This class should have an enum with methods to do this.


Regards

augustas656



No comments:

Post a Comment