Class PlayerFactBuilderImpl
- java.lang.Object
-
- it.univaq.gamification.simulation.builders.impl.fact.PlayerFactBuilderImpl
-
- All Implemented Interfaces:
GameFactBuilder<PlayerFactBuilderImpl,eu.trentorise.game.model.Player>
public class PlayerFactBuilderImpl extends java.lang.Object implements GameFactBuilder<PlayerFactBuilderImpl,eu.trentorise.game.model.Player>
-
-
Constructor Summary
Constructors Constructor Description PlayerFactBuilderImpl(java.lang.String id, boolean team, int totalMembers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description eu.trentorise.game.model.Player
asOriginalPojo()
java.lang.String
getId()
java.util.Map<java.lang.String,java.lang.String>
getLevels()
int
getTotalMembers()
boolean
isTeam()
-
-
-
Method Detail
-
asOriginalPojo
public eu.trentorise.game.model.Player asOriginalPojo()
- Specified by:
asOriginalPojo
in interfaceGameFactBuilder<PlayerFactBuilderImpl,eu.trentorise.game.model.Player>
-
getId
public java.lang.String getId()
-
isTeam
public boolean isTeam()
-
getTotalMembers
public int getTotalMembers()
-
getLevels
public java.util.Map<java.lang.String,java.lang.String> getLevels()
-
-