public ObjectStats exportStats() { return new ObjectStats( (String) objectType.getSelectedItem(), myCollisionID, (String) movementType.getSelectedItem(), mySpeedSlider.getValue(), myDurationSlider.getValue(), cameraBox.isSelected(), myLevelEditor.getMover().getImageName(), floaterBox.isSelected(), myHitPointsSlider.getValue()); }
/** * Gets the value in the duration slider. * * @return The value in the duration slider. */ public int getMovementDuration() { return myDurationSlider.getValue(); }
/** * Gets the value in the speed slider. * * @return The value of the speed slider. */ public int getMovementSpeed() { return mySpeedSlider.getValue(); }
public int getHitPoints() { return myHitPointsSlider.getValue(); }