Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dice Roller Program that checks itself for validity. #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Paa1006
Copy link

@Paa1006 Paa1006 commented Oct 21, 2015

Can not figure out why I cant access the roll method of a Die in an
ArrayList. The problem is in the DiceTower Class.

Can not figure out why I cant access the roll method of a Die in an
ArrayList. The problem is in the DiceTower Class.
@@ -15,8 +15,9 @@
* @author Paul Scarrone
*/
public class DiceTower {
final int PANEL_COUNT = 3;
List<Die> dice;
final private int PANEL_COUNT = 3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is not wrong we usually do <Access Modifier> <Other Modifiers> <type> <variable name> as the pattern here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll go in and change this. Ill update the commit once I can figure out why my roll method won't work.

Fixed the problem I was having with the Dice Tower class now I am
getting errors with the Die roll....
Finally got everything working correctly. Now to use this for Assignment
8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants