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.sound.Sound Class Reference
Inheritance diagram for com.linxonline.mallet.resources.sound.Sound:
Inheritance graph
[legend]
Collaboration diagram for com.linxonline.mallet.resources.sound.Sound:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Sound (SoundInterface _sound)
final void play ()
final void playLoop ()
final void pause ()
final void stop ()
void destroy ()
String type ()

Public Attributes

SoundInterface sound = null

Detailed Description

Sound has the ability to play the Resource it contains. This should be considered deprecated and not used.


Constructor & Destructor Documentation


Member Function Documentation

If a Resource is hooked to an underlying system, for example the buffer in an ALSASound, then use destroy to unhook it.

Or if the resource stores other resources, call their respective, unregister().

Reimplemented from com.linxonline.mallet.resources.Resource.

String com.linxonline.mallet.resources.sound.Sound.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