Beispiel #1
0
 public static PlayerDao GetInstance()
 {
     if (Instance == null)
     {
         Instance = new PlayerDao();
     }
     return(Instance);
 }
 private LinkBattlePlayersDao()
 {
     playerDao = PlayerDao.GetInstance();
 }
Beispiel #3
0
 private PlayerInBattleDao()
 {
     playerDao = PlayerDao.GetInstance();
     battleDao = BattleDao.GetInstance();
 }