Vajad kellegagi rääkida?
Küsi julgelt abi LasteAbi
Logi sisse
Sulge

"charindex2" - 1 õppematerjal

Battlearene 3-kodutöö
15
docx

Battlearene 3. kodutöö

} } if(exist==0){ characters.push_back(character); } character->inArena(); cout<getType()<<" ""<getName()<<"" entered the arena"<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 while(op1->getHP()>0 && op2->getHP()>0){ for(i=0; i

Informaatika → Keel c ja objektorienteeritud...
29 allalaadimist


Sellel veebilehel kasutatakse küpsiseid. Kasutamist jätkates nõustute küpsiste ja veebilehe üldtingimustega Nõustun