Package it.polimi.ingsw.Model
Interface CharacterDeckGenerator.CharacterCardGenerator
- Enclosing class:
CharacterDeckGenerator
private static interface CharacterDeckGenerator.CharacterCardGenerator
in order to construct each card, the constructor must fall under an interface to be used in a lambda call.
This interface is just for that.
-
Method Summary
Modifier and TypeMethodDescriptionthe constructor of aCharacterCard
has the same signature as this method
-
Method Details
-
build
the constructor of aCharacterCard
has the same signature as this method- Parameters:
ctx
- the reference toModel
- Returns:
- a
CharacterCard
-