Exemplo n.º 1
0
 public PlayerManager()
 {
     NickName               = "Windy";
     curPlayerAttribute     = new CurPlayerAttribute();
     playerEquipManger      = new PlayerEquipManager(curPlayerAttribute);
     playerLevelManager     = new PlayerLevelManager(curPlayerAttribute);
     playerStageInfoManager = new PlayerStageInfoManager();
 }
Exemplo n.º 2
0
 public PlayerEquipManager(CurPlayerAttribute curPlayerAttribute)
 {
     _curPlayerAttribute = curPlayerAttribute;
     equipList           = new Equip.Equip[EquipType.EquipTypeNum + 1];
     Debug.Log("Equip List's Length is " + EquipType.EquipTypeNum);
     #region 临时代码,初始化玩家装备
     EquipEquipment(1101);
     EquipEquipment(1201);
     EquipEquipment(1301);
     EquipEquipment(1401);
     EquipEquipment(1501);
     EquipEquipment(1601);
     EquipEquipment(1701);
     EquipEquipment(1801);
     #endregion
 }
Exemplo n.º 3
0
 public PlayerLevelManager(CurPlayerAttribute curPlayerAttribute)
 {
     _curPlayerAttribute = curPlayerAttribute;
     Lv         = 1;
     PropertyLv = 1;
 }