Пример #1
0
 public WorldMapMonster(Point location, Image image, int id, CombatPartyMember member)
     : base(location, image, id)
 {
     this.member = member;
     isMoving    = false;
     isAlive     = true;
 }
Пример #2
0
 public WorldMapMonster(Point location, Image image, int id, CombatPartyMember member)
     : base(location, image, id)
 {
     this.member = member;
     isMoving = false;
     isAlive = true;
 }
Пример #3
0
        public void StartCombat(PlayerParty playerParty, CombatPartyMember enemy)
        {
            enemyMember = enemy;

            playerPartyMembers.Add(playerParty.member1);
            playerPartyMembers.Add(playerParty.member2);
            inCombat = true;

            Party1.Image = playerPartyMembers[0].Img;
            Party2.Image = playerPartyMembers[1].Img;
            Enemy1.Image = enemyMember.Img;
            LoadSkillsForPlayer();
        }
Пример #4
0
        public void StartCombat(PlayerParty playerParty, CombatPartyMember enemy)
        {
            enemyMember = enemy;

            playerPartyMembers.Add(playerParty.member1);
            playerPartyMembers.Add(playerParty.member2);
            inCombat = true;

            Party1.Image = playerPartyMembers[0].Img;
            Party2.Image = playerPartyMembers[1].Img;
            Enemy1.Image = enemyMember.Img;
            LoadSkillsForPlayer();
        }
Пример #5
0
 public PlayerParty(Point location, Image image, int id, CombatPartyMember member1, CombatPartyMember member2)
 {
     partySprite = new WorldMapSprite(location, image, id);
     this.member1 = member1;
     this.member2 = member2;
 }
Пример #6
0
 public PlayerParty(Point location, Image image, int id, CombatPartyMember member1, CombatPartyMember member2)
 {
     partySprite  = new WorldMapSprite(location, image, id);
     this.member1 = member1;
     this.member2 = member2;
 }