Randolph Freelander
Member
Yeah I finally understand that. Wasn't thinking about it in the right way.
Ok so I got rid of the sides member variable in FunnyDie.
However, there is an error with trying to use setSides() with a FunnyDie. Because sides is a private member variable of the Die class. Even though setSides() is a public function of the die class.
Changing sides to a protected member variable fixed that I think.
Did you take the setSides function back out of the FunnyDie class? (Assuming it doesn't need to override the default behavior, you should.)