Package rekit.core
Class Team.Range
java.lang.Object
rekit.core.Team.Range
- Enclosing class:
- Team
This class defines a range to define z-layers.
- Author:
- Dominik Fuchss
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte
getStd()
Get the standard value.byte
normalize
(int expected) Normalize toTeam.Range
.
-
Field Details
-
min
public final byte minThe most behind z-layer. -
max
public final byte maxThe most in-front-of z-layer. -
std
public final byte stdThe standard z-layer.
-
-
Method Details
-
normalize
public byte normalize(int expected) Normalize toTeam.Range
.- Parameters:
expected
- the expected z-layer.- Returns:
- the actual z-layer (trimmed to
this
-
getStd
public byte getStd()Get the standard value.- Returns:
- the std value
-