public interface HasID
Modifier and Type | Method and Description |
---|---|
byte |
getId()
returns the id of a object
|
float |
getLightlevel()
How bright is the object?
|
java.lang.String |
getName()
Read the name of a id value combination.
|
byte |
getValue()
Get the value.
|
boolean |
isObstacle()
Is this object an obstacle or can you pass through?
|
boolean |
isTransparent()
Can light travel through object?
|
void |
setLightlevel(float lightlevel)
Set the brightness of the object.
|
byte getId()
byte getValue()
AbstractGameObject.VALUESNUM
]. Is -1 if about to destroyed.float getLightlevel()
void setLightlevel(float lightlevel)
lightlevel
- 1 is default bright. 0 is black.boolean isTransparent()
boolean isObstacle()
java.lang.String getName()