public PlayerManager() { NickName = "Windy"; curPlayerAttribute = new CurPlayerAttribute(); playerEquipManger = new PlayerEquipManager(curPlayerAttribute); playerLevelManager = new PlayerLevelManager(curPlayerAttribute); playerStageInfoManager = new PlayerStageInfoManager(); }
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 }
public PlayerLevelManager(CurPlayerAttribute curPlayerAttribute) { _curPlayerAttribute = curPlayerAttribute; Lv = 1; PropertyLv = 1; }