public class GameResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
money
Attribute for slot money.
|
protected boolean |
won
Attribute for slot won.
|
Constructor and Description |
---|
GameResult()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
jadex.commons.beans.BeanInfo[] |
getAdditionalBeanInfo()
Get additional bean info.
|
jadex.commons.beans.BeanDescriptor |
getBeanDescriptor()
Get the bean descriptor.
|
int |
getDefaultEventIndex()
Get the default event index.
|
int |
getDefaultPropertyIndex()
Get the default property index.
|
jadex.commons.beans.EventSetDescriptor[] |
getEventSetDescriptors()
Get the event set descriptors.
|
java.awt.Image |
getIcon(int iconKind)
Get the icon.
|
jadex.commons.beans.MethodDescriptor[] |
getMethodDescriptors()
Get the method descriptors.
|
int |
getMoney()
Get the money of this GameResult.
|
jadex.commons.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Get the property descriptors.
|
boolean |
isWon()
Get the won of this GameResult.
|
java.awt.Image |
loadImage(java.lang.String resourceName)
Load the image.
|
void |
setMoney(int money)
Set the money of this GameResult.
|
void |
setWon(boolean won)
Set the won of this GameResult.
|
java.lang.String |
toString()
Get a string representation of this GameResult.
|
protected boolean won
protected int money
public boolean isWon()
public void setWon(boolean won)
won
- the value to be setpublic int getMoney()
public void setMoney(int money)
money
- the value to be setpublic jadex.commons.beans.BeanDescriptor getBeanDescriptor()
public jadex.commons.beans.PropertyDescriptor[] getPropertyDescriptors()
public int getDefaultPropertyIndex()
public jadex.commons.beans.EventSetDescriptor[] getEventSetDescriptors()
public int getDefaultEventIndex()
public jadex.commons.beans.MethodDescriptor[] getMethodDescriptors()
public jadex.commons.beans.BeanInfo[] getAdditionalBeanInfo()
public java.awt.Image getIcon(int iconKind)
public java.awt.Image loadImage(java.lang.String resourceName)
public java.lang.String toString()
toString
in class java.lang.Object