Пример #1
0
    public void setCharacterStats(PlayerStats mainCharStats, friend1Stats friend1CharStats, friend2Stats friend2CharStats, friend3Stats friend3CharStats)
    {
        this.mainCharStats    = mainCharStats;
        this.friend1CharStats = friend1CharStats;
        this.friend2CharStats = friend2CharStats;
        this.friend3CharStats = friend3CharStats;

        //mainChar
        mainCharLevel                 = mainCharStats.getsetPlayerLvl;
        mainCharExperience            = mainCharStats.getsetPlayerXP;
        mainCharExperienceToNextLevel = mainCharStats.getsetXPToNextLevelup;

        //friend 1
        friend1Level                 = friend1CharStats.getsetLvl;
        friend1Experience            = friend1CharStats.getsetExp;
        friend1ExperienceToNextLevel = friend1CharStats.getsetExpToNextLevel;

        //friend 2
        friend2Level                 = friend2CharStats.getsetLvl;
        friend2Experience            = friend2CharStats.getsetExp;
        friend2ExperienceToNextLevel = friend2CharStats.getsetExpToNextLevel;

        //friend 3
        friend3Level                 = friend3CharStats.getsetLvl;
        friend3Experience            = friend3CharStats.getsetExp;
        friend3ExperienceToNextLevel = friend3CharStats.getsetExpToNextLevel;
    }
Пример #2
0
 private void Awake()
 {
     this.buttons          = GameManager.instance.battleButtons;
     this.inventory        = GameManager.instance.inventory;
     this.partyMember      = GameManager.instance.party;
     this.playerStats      = GameManager.instance.playerStats;
     this.friendOneStats   = GameManager.instance.friend1CharStats;
     this.friendTwoStats   = GameManager.instance.friend2CharStats;
     this.friendThreeStats = GameManager.instance.friend3CharStats;
     this.battleStates     = GameManager.instance.battleStates;
     this.actionSelect     = GameManager.instance.actionSelect;
 }
Пример #3
0
 private void Awake()
 {
     this.state             = GameManager.instance.pauseState;
     this.playerStats       = GameManager.instance.playerStats;
     this.friend1           = GameManager.instance.friend1CharStats;
     this.friend2           = GameManager.instance.friend2CharStats;
     this.friend3           = GameManager.instance.friend3CharStats;
     this.itemSelect        = GameManager.instance.itemSelect;
     this.mcEquipment       = GameManager.instance.mcEquipment;
     this.memOneEquipment   = GameManager.instance.memOneEquipment;
     this.memTwoEquipment   = GameManager.instance.memTwoEquipment;
     this.memThreeEquipment = GameManager.instance.memThreeEquipment;
 }