DiceObject.java :  » UnTagged » simple-diceroller » com » projectsexception » util » Android Open Source

Android Open Source » UnTagged » simple diceroller 
simple diceroller » com » projectsexception » util » DiceObject.java
/*
 * simple-diceroller simple application for android to roll dices
 * 
 * Copyright (C) 2010 ProjectsException
 * <http://code.google.com/p/simple-diceroller>
 * 
 * This file is part of simple-diceroller.
 * 
 * simple-diceroller is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or 
 * (at your option) any later version.
 * 
 * simple-diceroller is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with simple-diceroller.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.projectsexception.util;

public class DiceObject {
    
    private int resourceId;    
    private int sides;

    public DiceObject() {
        super();
    }

    public DiceObject(int resourceId, int sides) {
        super();
        this.resourceId = resourceId;
        this.sides = sides;
    }

    public int getResourceId() {
        return resourceId;
    }

    public void setResourceId(int resourceId) {
        this.resourceId = resourceId;
    }

    public int getSides() {
        return sides;
    }

    public void setSides(int sides) {
        this.sides = sides;
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.