public class Stat extends Object
Constructor and Description |
---|
Stat(int type,
int id)
Create a new stat.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Get the value of count.
|
int |
getId()
Get the value of id.
|
int |
getType()
Get the value of type.
|
void |
setCount(int count)
Set the value of count.
|
void |
setId(int id)
Set the value of id.
|
void |
setType(int type)
Set the value of type.
|
public Stat(int type, int id)
type
- the type of statid
- the id of this statpublic int getType()
public void setType(int type)
type
- Value to assign to type.public int getId()
public void setId(int id)
id
- Value to assign to id.public int getCount()
public void setCount(int count)
count
- Value to assign to count.