public ButtonName(string name,bool state) { this.name = name; this.state = state; this.amount = 0.0f; }