Class RewardFactBuilderImpl
- java.lang.Object
 - 
- it.univaq.gamification.simulation.builders.impl.fact.RewardFactBuilderImpl
 
 
- 
- All Implemented Interfaces:
 GameFactBuilder<RewardFactBuilderImpl,eu.trentorise.game.model.Reward>
public class RewardFactBuilderImpl extends java.lang.Object implements GameFactBuilder<RewardFactBuilderImpl,eu.trentorise.game.model.Reward>
 
- 
- 
Constructor Summary
Constructors Constructor Description RewardFactBuilderImpl(double percentage, double threshold) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description eu.trentorise.game.model.RewardasOriginalPojo()java.util.Map<java.lang.String,java.lang.Double>getBonusScore()doublegetPercentage()doublegetThreshold()voidsetPercentage(double percentage)voidsetThreshold(double threshold) 
 - 
 
- 
- 
Method Detail
- 
asOriginalPojo
public eu.trentorise.game.model.Reward asOriginalPojo()
- Specified by:
 asOriginalPojoin interfaceGameFactBuilder<RewardFactBuilderImpl,eu.trentorise.game.model.Reward>
 
- 
getPercentage
public double getPercentage()
 
- 
setPercentage
public void setPercentage(double percentage)
 
- 
getThreshold
public double getThreshold()
 
- 
setThreshold
public void setThreshold(double threshold)
 
- 
getBonusScore
public java.util.Map<java.lang.String,java.lang.Double> getBonusScore()
 
 - 
 
 -