-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathStaticMarkable.java
More file actions
29 lines (24 loc) · 894 Bytes
/
StaticMarkable.java
File metadata and controls
29 lines (24 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Original work Copyright (c) 2015, 2017, Igor Dimitrijevic
// Modified work Copyright (c) 2017-2018 OpenBW Team
//////////////////////////////////////////////////////////////////////////
//
// This file is part of the BWEM Library.
// BWEM is free software, licensed under the MIT/X11 License.
// A copy of the license is provided with the library in the LICENSE file.
// Copyright (c) 2015, 2017, Igor Dimitrijevic
//
//////////////////////////////////////////////////////////////////////////
package bwem.util;
/**
* See original C++ BWEM for an explanation of this code. Do NOT mimic BWEM's C++ inheritance for
* this code. See "src/test/util/OldMarkable.java" for what NOT to do.
*/
public final class StaticMarkable {
private int currentMark;
int getCurrentMark() {
return this.currentMark;
}
public void unmarkAll() {
++this.currentMark;
}
}