// dice 3.h

#ifndef _DICE
#define _DICE

#include <iostream>

using namespace std;

class Dice
{
  public:
    enum RollType {DAMAGE, HIT, IMPACT, WOUND,
                   SHOT1,SHOT2,CHARGE1,CHARGE2,
                   BCHARGE1,BCHARGE2,RWOUND1,RWOUND2};

    static int Roll(int numberOfDice, RollType whatAreYouRolling);
    // returns an integer reflecting the dice roll
    // pre: numberOfDice is 1,2, or 3
    //      whatAreYouRolling is of RollType (0-11)
    // post: returns the total dice roll
    //       if arguments are invalid returns -1
    
  private:
    static const int DTable[12][31];
    static int col[12];
};
  




#endif

