public IGameResultModel Translate(IGameResultEntity entity) { return(new GameResultModel(entity.Score)); }
public void Write(IGameResultEntity entity) { PlayerPrefs.SetInt(Constant.PlayerPrefsKey.LastGameResultScore, entity.Score); }