Mallet Engine  2
Entity-Component based game engine, written in Java.
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes
com.linxonline.mallet.resources.texture.Texture Class Reference
Inheritance diagram for com.linxonline.mallet.resources.texture.Texture:
Inheritance graph
[legend]
Collaboration diagram for com.linxonline.mallet.resources.texture.Texture:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables