summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/esodata/DoubleSided.java
blob: 2c573329f27d5f556ae6c4b509ed67e5bf0fdb21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package bjc.utils.esodata;

/**
 * Interface for a double-sided object.
 * 
 * @author bjculkin
 *
 */
public interface DoubleSided {
	/**
	 * Flips the object.
	 *
	 * The active side becomes inactive, and the inactive side becomes
	 * active.
	 */
	void flip();

	/**
	 * Check which side of the object is active;
	 *
	 * @return True if the front side is active, false otherwise.
	 */
	boolean currentSide();
}