com.jme3.cursors.plugins
Class CursorLoader

java.lang.Object
  extended by com.jme3.cursors.plugins.CursorLoader
All Implemented Interfaces:
AssetLoader

public class CursorLoader
extends java.lang.Object
implements AssetLoader


Constructor Summary
CursorLoader()
           
 
Method Summary
 JmeCursor load(AssetInfo info)
          Loads and return a cursor file of one of the following format: .ani, .cur and .ico.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CursorLoader

public CursorLoader()
Method Detail

load

public JmeCursor load(AssetInfo info)
               throws java.io.IOException
Loads and return a cursor file of one of the following format: .ani, .cur and .ico.

Specified by:
load in interface AssetLoader
Parameters:
info - The AssetInfo describing the cursor file.
Returns:
A JmeCursor representation of the LWJGL's Cursor.
Throws:
java.io.IOException - if the file is not found.