Class CursorLoader

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

public class CursorLoader extends Object implements com.jme3.asset.AssetLoader
Created Jun 5, 2012 9:45:58 AM
Author:
MadJack
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.jme3.cursors.plugins.JmeCursor
    load(com.jme3.asset.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 Details

    • CursorLoader

      public CursorLoader()
  • Method Details

    • load

      public com.jme3.cursors.plugins.JmeCursor load(com.jme3.asset.AssetInfo info) throws IOException
      Loads and return a cursor file of one of the following format: .ani, .cur and .ico.
      Specified by:
      load in interface com.jme3.asset.AssetLoader
      Parameters:
      info - The AssetInfo describing the cursor file.
      Returns:
      A JmeCursor representation of the LWJGL's Cursor.
      Throws:
      IOException - if the file is not found.