public class ShopCapa.SellGoal
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
The text.
|
protected double |
price
The price.
|
protected ItemInfo |
result
The result.
|
Constructor and Description |
---|
SellGoal(java.lang.String name,
double price)
Create a new SellGoal.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name.
|
double |
getPrice()
Get the price.
|
ItemInfo |
getResult()
Get the result.
|
void |
setResult(ItemInfo result)
Set the result.
|
protected java.lang.String name
protected double price
protected ItemInfo result
public SellGoal(java.lang.String name, double price)
public java.lang.String getName()
public double getPrice()
public ItemInfo getResult()
public void setResult(ItemInfo result)
result
- The result to set.