Class LayoutFactory


  • public class LayoutFactory
    extends Object
    Author:
    Jeff Riggle
    • Constructor Detail

      • LayoutFactory

        public LayoutFactory()
    • 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.