Mallet Engine
2
Entity-Component based game engine, written in Java.
|
Public Member Functions | |
Texture (ImageInterface _image) | |
final int | getWidth () |
final int | getHeight () |
final< T > T | getImage (Class< T > _type) |
String | type () |
Public Attributes | |
int | width = 0 |
int | height = 0 |
ImageInterface | image = null |
final<T> T com.linxonline.mallet.resources.texture.Texture.getImage | ( | Class< T > | _type | ) |
final int com.linxonline.mallet.resources.texture.Texture.getWidth | ( | ) |
String com.linxonline.mallet.resources.texture.Texture.type | ( | ) |
Returns a String that denotes the type of resource ie: SOUND, TEXTURE, MODEL.
Reimplemented from com.linxonline.mallet.resources.Resource.