Created
August 15, 2012 04:04
-
-
Save Varriount/3355760 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.varriount.arteme.components; | |
import com.artemis.Component; | |
/** | |
* A component which holds renderable objects. | |
* TODO Add type safety, explore for alternatives. | |
* @author Clay | |
* | |
*/ | |
public abstract class RenderComponent<T> extends Component { | |
public T item; | |
protected void setItem(T item) { | |
this.item = item; | |
} | |
protected T getItem() { | |
return this.item; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment