be.saltwater.jaqel.creature.loaders
Interface AnimationLoader

All Known Implementing Classes:
XMLAnimationLoader

public interface AnimationLoader

Interface for the loading of animation files. This interface is probably only used by the CreatureLoader interface to deliver a complete CreatureLoadData (including animations).

Author:
Bruno Windels
See Also:
CreatureLoader, CreatureAnimation

Method Summary
 CreatureAnimation load(java.lang.String filename)
          Loads the file.
 

Method Detail

load

public CreatureAnimation load(java.lang.String filename)
                       throws java.io.IOException,
                              IllegalFormatException
Loads the file.

Throws:
java.io.IOException - When there was a problem reading the specified file.
IllegalFormatException - When the format of the file is not as expected.