|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.adventure.entity.AbstractEntity
de.rico.adventure.entity.prop.Prop
public class Prop
This class represents a prop. It's just a simple wrapper for a mesh object. A prop is passive by it's nature. It's in no way capable for any kind of interactivity.
Constructor Summary | |
---|---|
Prop(AbstractMesh mesh)
Creates a new prop based on the specified mesh. |
Method Summary | |
---|---|
java.lang.String |
getScreenName()
This method always returns null , because
a prop doesn't need a name. |
Methods inherited from class de.rico.adventure.entity.AbstractEntity |
---|
destroy, drawScreenName, getMesh, getScriptId, isEnabled, setEnabled, setScreenName, setScriptId, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Prop(AbstractMesh mesh)
mesh
- mesh to use for the propMethod Detail |
---|
public java.lang.String getScreenName()
null
, because
a prop doesn't need a name. It's not meant for interactivity.
getScreenName
in class AbstractEntity
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |