mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-13 23:26:07 +09:00
added sources for Slick
Former-commit-id: 1647fa32ef6894bd7db44f741f07c2f4dcdf9054 Former-commit-id: 0e5810dcfbe1fd59b13e7cabe9f1e93c5542da2d
This commit is contained in:
20
lib/slick-source/org/newdawn/slick/svg/Loader.java
Normal file
20
lib/slick-source/org/newdawn/slick/svg/Loader.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package org.newdawn.slick.svg;
|
||||
|
||||
import org.newdawn.slick.geom.Transform;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
/**
|
||||
* Description of a simple XML loader
|
||||
*
|
||||
* @author kevin
|
||||
*/
|
||||
public interface Loader {
|
||||
/**
|
||||
* Load the children of a given element
|
||||
*
|
||||
* @param element The element whose children should be loaded
|
||||
* @param t The transform to apply to all the children
|
||||
* @throws ParsingException Indicates a failure to read the XML
|
||||
*/
|
||||
public void loadChildren(Element element, Transform t) throws ParsingException;
|
||||
}
|
||||
Reference in New Issue
Block a user