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