de.rico.adventure.entity.prop
Class Prop

java.lang.Object
  extended by de.rico.adventure.entity.AbstractEntity
      extended by de.rico.adventure.entity.prop.Prop

public class Prop
extends AbstractEntity

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.

Author:
Frank Bruns

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

Prop

public Prop(AbstractMesh mesh)
Creates a new prop based on the specified mesh.

Parameters:
mesh - mesh to use for the prop
Method Detail

getScreenName

public java.lang.String getScreenName()
This method always returns null, because a prop doesn't need a name. It's not meant for interactivity.

Overrides:
getScreenName in class AbstractEntity
Returns:
screen name of the entity