Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreatureType
getCreatureTypeByName(java.lang.String name)
Convert a name into the actual CreatureTypejava.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.
-
-