net.sf.colossus.variant
Interface AllCreatureType

All Known Implementing Classes:
CreatureLoader

public interface AllCreatureType

All CreatureType existing in a Variant

Author:
Romain Dolbeau

Method Summary
 CreatureType getCreatureTypeByName(java.lang.String name)
          Convert a name into the actual CreatureType
 java.util.SortedSet<CreatureType> getCreatureTypes()
          Retrieve all the CreatureType in the game.
 java.util.List<CreatureType> getCreatureTypesAsList()
          Retrieve all the CreatureType in the game.
 

Method Detail

getCreatureTypesAsList

java.util.List<CreatureType> getCreatureTypesAsList()
Retrieve all the CreatureType in the game. They are sorted by name.

Returns:
The immutable list of all CreatureType in the Variant.

getCreatureTypes

java.util.SortedSet<CreatureType> getCreatureTypes()
Retrieve all the CreatureType in the game. The set is sorted by the natural order of CreatureType

Returns:
The immutable SortedSet of all CreatureType in the Variant.

getCreatureTypeByName

CreatureType getCreatureTypeByName(java.lang.String name)
Convert a name into the actual CreatureType

Parameters:
name - The name of the CreatureType
Returns:
The CreatureType of name name.