I seem to not be able to figure delegates out.
I need to use a delegate as parameter for a class constructor, to be able to access the constructor anytime directly from the class.
What I have:
public class Cheat{
public string cheat;
public Cheat(string cht){
cheat = cht;
}
}
What I want to do with this:
Cheat cheat = new Cheat("cheat", FUNCTION/DELEGATE);
Then I want to be able to use the thing like this: