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.engine.cursor
Class GameCursor

    java.lang.Object
      de.rico.engine.effect.ortho.OverlayImage
          de.rico.engine.cursor.GameCursor

    public class GameCursor

extends OverlayImage

This class represents a game cursor that is based on an image file

Author:
  Frank Bruns

Constructor Summary
`GameCursor(java.lang.Enum id, java.lang.String filePath)` Creates a new game cursor with the specified id and image file path

Method Summary
`java.lang.Enum` | `getId()` Returns the id of this cursor

Methods inherited from class de.rico.engine.effect.ortho.OverlayImage
`getFilePath, getHeight, getImage, getWidth`

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

Constructor Detail

### GameCursor

    public GameCursor(java.lang.Enum id,
                      java.lang.String filePath)

  Creates a new game cursor with the specified id and image file path

  Parameters:
    `id` - cursor id (from a custom enumeration class)
    `filePath` - path to image file for the cursor icon

Method Detail

### getId

    public java.lang.Enum getId()

  Returns the id of this cursor

  Returns:
    cursor id

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