Interface FxBoulderDashSpriteFactory
-
- All Superinterfaces:
org.refcodes.factory.ContextLookupFactory<javafx.scene.Node,S,org.refcodes.checkerboard.alt.javafx.FxCheckerboardViewer<?,S>>,org.refcodes.checkerboard.alt.javafx.FxSpriteFactory<org.refcodes.data.ext.boulderdash.BoulderDashStatus>,org.refcodes.checkerboard.SpriteFactory<javafx.scene.Node,S,org.refcodes.checkerboard.alt.javafx.FxCheckerboardViewer<?,S>>
- All Known Implementing Classes:
FxBoulderDashSpriteFactoryImpl
public interface FxBoulderDashSpriteFactory extends org.refcodes.checkerboard.alt.javafx.FxSpriteFactory<org.refcodes.data.ext.boulderdash.BoulderDashStatus>A factory for creating FxBoulderDash objects.- Author:
- steiner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetOpacity()Gets the opacity.doublegetScaleFactor()Gets the scale factor.voidsetOpacity(double aOpacity)Sets the opacity.voidsetScaleFactor(double aScaleFactor)Sets the scale factor.FxBoulderDashSpriteFactorywithOpacity(double aOpacity)With opacity.FxBoulderDashSpriteFactorywithScaleFactor(double aScaleFactor)With scale factor.
-
-
-
Method Detail
-
getScaleFactor
double getScaleFactor()
Gets the scale factor.- Returns:
- the scale factor
-
setScaleFactor
void setScaleFactor(double aScaleFactor)
Sets the scale factor.- Parameters:
aScaleFactor- the new scale factor
-
withScaleFactor
FxBoulderDashSpriteFactory withScaleFactor(double aScaleFactor)
With scale factor.- Parameters:
aScaleFactor- the scale factor- Returns:
- the fx boulder dash factory
-
getOpacity
double getOpacity()
Gets the opacity.- Returns:
- the opacity
-
setOpacity
void setOpacity(double aOpacity)
Sets the opacity.- Parameters:
aOpacity- the new opacity
-
withOpacity
FxBoulderDashSpriteFactory withOpacity(double aOpacity)
With opacity.- Parameters:
aOpacity- the opacity- Returns:
- the fx boulder dash factory
-
-