Class OverlayFactory


  • public final class OverlayFactory
    extends java.lang.Object
    The OverlayFactory constructs types of Overlay objects given with a persistent SpriteBatch
    Author:
    ENG1 Team 23 (Cohort 3)
    • Field Detail

      • batch

        private final com.badlogic.gdx.graphics.g2d.SpriteBatch batch
        The SpriteBatch with which Overlay instances should be constructed
    • Constructor Detail

      • OverlayFactory

        public OverlayFactory​(com.badlogic.gdx.graphics.g2d.SpriteBatch batch)
        Constructs a new Overlay with the given SpriteBatch
        Parameters:
        batch - The SpriteBatch with which Overlay instances should be bound