Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.rico.adventure.structure
Class EntryPoint

    java.lang.Object
      de.rico.adventure.structure.EntryPoint

    public class EntryPoint

extends java.lang.Object

This class encapsulates a location of entry in a room. Such a location is specified by position and rotation values.

Author:
  Frank Bruns

Constructor Summary
`EntryPoint(java.lang.String scriptId, Point3D pos, Point3D rot)` Creates a new entry point with the specified position and rotation.

Method Summary
`Point3D` | `getPosition()` Returns the position of the entry point.
`Point3D` | `getRotation()` Returns the rotation of the entry point.
`java.lang.String` | `getScriptId()` Returns the script id of the entry point.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EntryPoint

    public EntryPoint(java.lang.String scriptId,
                      Point3D pos,
                      Point3D rot)

  Creates a new entry point with the specified position and rotation.

  Parameters:
    `scriptId` - script id of the entry point
    `pos` - position of the entry point
    `rot` - rotation at the entry point

Method Detail

### getScriptId

    public java.lang.String getScriptId()

  Returns the script id of the entry point.

  Returns:
    entry point's script id

### getPosition

    public Point3D getPosition()

  Returns the position of the entry point.

  Returns:
    positon of the entry point

### getRotation

    public Point3D getRotation()

  Returns the rotation of the entry point.

  Returns:
    rotation of the entry point

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD