Can you help with this class? Boolean variables acting weird

Printable View