Battlearene 3. kodutöö
for(;iinArena();
cout<getType()<<" ""<getName()<<"" entered the
arena"<charIndex1=random;
random=rand() % characters.size();
Character *op2=characters[random];
int charIndex2=random;
while(op2==op1){
random=rand() % characters.size();
op2=characters[random];
charIndex2=random;
}
cout<<"Fightng:"<getName()<<" vs "<< op2->getName()<isPlayer();
bool isOp2Player=op2->isPlayer();
int actionsLeftP1=op1->getLvl();
int actionsLeftP2=op2->getLvl();
//võitlus surmani