Back to project page NerdRoll.
The source code is released under:
Apache License
If you think the Android project NerdRoll listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bignerdranch.android.nerdroll.model; // ww w. j a v a 2 s. c o m public class Die { private final int mSides; private DieList mDieList; Die(DieList dieList, int sides) { mDieList = dieList; mSides = sides; } public int getSides() { return mSides; } @Override public String toString() { return "1d" + mSides; } }