#include "Campaign.h"
#include <string>
using namespace std;

Campaign :: Campaign ()
{ name = new string ();
 beginPic = NULL; 
 endPic = NULL; 
 music = NULL;}

Campaign :: Campaign (string * s, BITMAP * inP, BITMAP * ouP)
{ name = new string (*s);
 beginPic = inP;
 endPic = ouP;
 music = NULL;}

void Campaign :: setBeginPic (BITMAP * inP)
{ beginPic = inP; }

BITMAP * Campaign :: getBeginPic ()
{ return beginPic; }

void Campaign :: setEndPic (BITMAP * ouP)
{ endPic = ouP; }

BITMAP * Campaign :: getEndPic ()
{ return endPic;}

void Campaign :: setTotalRounds (int num)
{ totalRounds = num;}

int Campaign :: getTotalRounds ()
{ return totalRounds;}

void Campaign :: setName (string *s)
{ name = new string (*s); }

string * Campaign :: getName ()
{ return name; }

void Campaign :: setMusic (string *s)
{ music = new string (*s); }

string * Campaign :: getMusic ()
{ return music; }

Campaign :: ~Campaign ()
{
  destroy_bitmap (beginPic);
  destroy_bitmap (endPic);
}
