com.github.mathiewz.slick.Renderable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of modernized-slick Show documentation
Show all versions of modernized-slick Show documentation
The main purpose of this libraryis to modernize and maintain the slick2D library.
The newest version!
package com.github.mathiewz.slick;
/**
* Description of anything that can be drawn
*
* @author kevin
*/
public interface Renderable {
/**
* Draw this artefact at the given location
*
* @param x
* The x coordinate to draw the artefact at
* @param y
* The y coordinate to draw the artefact at
*/
public void draw(float x, float y);
/**
* Draw this artefact at the given location
*
* @param x
* The x coordinate to draw the artefact at
* @param y
* The y coordinate to draw the artefact at
* @param filter
* The color filter to apply when drawing
*/
public void draw(float x, float y, Color filter);
/**
* Draw this artefact at the given location with the specified size
*
* @param x
* The x coordinate to draw the artefact at
* @param y
* The y coordinate to draw the artefact at
* @param width
* The width to render the artefact at
* @param height
* The width to render the artefact at
*/
public void draw(float x, float y, float width, float height);
/**
* Draw this artefact at the given location with the specified size
*
* @param x
* The x coordinate to draw the artefact at
* @param y
* The y coordinate to draw the artefact at
* @param width
* The width to render the artefact at
* @param height
* The width to render the artefact at
* @param filter
* The color filter to apply when drawing
*/
public void draw(float x, float y, float width, float height, Color filter);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy