aboutsummaryrefslogtreecommitdiff
path: root/Mammoth/Couscous/mammoth/internal/util/MutableBoolean.cs
blob: 5623f271b190fc54739cb227f25c86020c6c023d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.util {
    internal class MutableBoolean {
        private bool value;

        public MutableBoolean(bool initialValue) {
            this.value = initialValue;
        }

        public bool get() {
            return value;
        }

        public void set(bool newValue) {
            this.value = newValue;
        }
    }
}