public AbstractAction(string text, Image image, OneArgFunction effect) { this.text = text; this.image = image; this.effect = effect; this.progress = 0; }
public AbstractAction(string text, Image image) : this(text, image, new OneArgFunction((x) => { })) { effect = new OneArgFunction(runSrc); }