示例#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();
 }