public class Upgrade extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Upgrade.Type |
Constructor and Description |
---|
Upgrade(double cost) |
Upgrade(double cost,
int value) |
Modifier and Type | Method and Description |
---|---|
double |
getCost() |
int |
getValue() |
boolean |
isEnabled() |
void |
setCost(double cost) |
void |
setEnabled(boolean enabled) |
void |
setValue(int value) |
Copyright © 2018. All rights reserved.