Zaibon

Untitled

Nov 6th, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. Carte Carte::operator+(int add){
  2.     Carte c(*this);
  3.     c.caraScore.setScore(c.caraScore.getScore()+add);
  4.     return c;
  5. }
  6. void Carte::setCaracteristiqueScore(const CaracteristiqueScore cs){
  7.     caraScore.setNom(cs.getNom());
  8.     caraScore.setScore(cs.getScore());
  9. }
Advertisement
Add Comment
Please, Sign In to add comment