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
Modifier and TypeMethodDescriptiongetCreatureTypeByName
(String name) Convert a name into the actual CreatureTypeRetrieve all the CreatureType in the game.Retrieve all the CreatureType in the game.
-
Method Details
-
getCreatureTypesAsList
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
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
Convert a name into the actual CreatureType- Parameters:
name
- The name of the CreatureType- Returns:
- The CreatureType of name name.
-