All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.lessvoid.nifty.slick2d.render.cursor.AbstractNativeSlickMouseCursor Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package de.lessvoid.nifty.slick2d.render.cursor;

import org.newdawn.slick.Graphics;

/**
 * This class is created to implement native mouse cursors with slick. Those cursor are not in need of the render
 * function and so this function is implemented empty.
 *
 * @author Martin Karing <[email protected]>
 */
public abstract class AbstractNativeSlickMouseCursor implements SlickMouseCursor {
  /**
   * Render the cursor. For the native implementations this function does nothing at all.
   */
  @Override
  public final void render(final Graphics g, final int x, final int y) {
    // nothing
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy