public class Attack extends java.lang.Object implements IComponent
| Type | Property and Description |
|---|---|
javafx.beans.property.SimpleObjectProperty<java.lang.Double> |
attack
Get the attack as a property.
|
| Constructor and Description |
|---|
Attack()
Empty constructor.
|
Attack(double attack)
Construct with an initial value.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.SimpleObjectProperty<java.lang.Double> |
attackProperty()
Get the attack as a property.
|
double |
getAttack()
Gets the value of the property attack.
|
java.util.List<javafx.beans.property.SimpleObjectProperty<?>> |
getProperties()
Gets any properties this component holds.
|
void |
setAttack(double attack)
Sets the value of the property attack.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClassForComponentMap, getProperty, getProperty, getPropertyNamesAndClasses, removeBindingsclone, serialize, serializeToStringpublic javafx.beans.property.SimpleObjectProperty<java.lang.Double> attackProperty
getAttack(),
setAttack(double)public Attack()
public Attack(double attack)
attack - the initial valuepublic javafx.beans.property.SimpleObjectProperty<java.lang.Double> attackProperty()
getAttack(),
setAttack(double)public double getAttack()
public void setAttack(double attack)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.List<javafx.beans.property.SimpleObjectProperty<?>> getProperties()
IComponentgetProperties in interface IComponent