public IGameResultModel Translate(IGameResultEntity entity)
 {
     return(new GameResultModel(entity.Score));
 }
Пример #2
0
 public void Write(IGameResultEntity entity)
 {
     PlayerPrefs.SetInt(Constant.PlayerPrefsKey.LastGameResultScore, entity.Score);
 }