de.gurkenlabs.litiengine.resources.NamedResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litiengine Show documentation
Show all versions of litiengine Show documentation
The FOSS 2D Java game engine.
The newest version!
package de.gurkenlabs.litiengine.resources;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlTransient;
public abstract class NamedResource implements Resource {
@XmlAttribute
private String name;
@XmlTransient
@Override
public String getName() {
return this.name;
}
@Override
public void setName(final String n) {
this.name = n;
}
}