Package it.unibo.alchemist.model
Class SupportedIncarnations
-
- All Implemented Interfaces:
public final class SupportedIncarnations
This enum interfaces the generic components of the graphical interface with the specific incarnation details.
-
-
Method Summary
-
-
Method Detail
-
getAvailableIncarnations
static Set<String> getAvailableIncarnations()
- Returns:
The set of incarnations currently available.
-
get
static <T, P extends Position<out P>> Optional<Incarnation<T, P>> get(String s)
Fetches an incarnation whose name matches the supplied string.
- Parameters:
s
- the name of the Incarnation- Returns:
an Optional containing the incarnation, if one with a matching name exists
-
-
-
-