- java.lang.Object
-
- textadventurelib.layout.LayoutFactory
-
public class LayoutFactory extends Object
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description LayoutFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextAdventureLayout
create(String layout, TextAdventureLayoutModel model, String cssLocation)
-
-
-
Method Detail
-
create
public static TextAdventureLayout create(String layout, TextAdventureLayoutModel model, String cssLocation)
- Parameters:
layout
- The fxml to use for the view.model
- The model to associate with the view.cssLocation
- The location of the css file.- Returns:
- The created layout.
-
-