Closed mrichards42 closed 1 year ago
Two possibilities come to mind, no real preference between the two
// perhaps more natural in c++ bool HasBar(Bar bar) { return m_bars[bar]; } void SetBar(Bar bar, bool doit = true) { m_bars[bar] = doit; } // maybe easier for lua? bool HasTopBar() { return m_bars[BAR_TOP]; } // etc bool SetTopBar(bool doit = true) { m_bars[BAR_TOP] = doit; } // etc
Done in 0a9b0b534be60a4718f8761f67277132ab974a62
Two possibilities come to mind, no real preference between the two