Interface SpriteAccessor.SpriteBuilder<T,B extends SpriteAccessor.SpriteBuilder<T,B>>

  • Type Parameters:
    T - the generic type
    B - The builder to return in order to be able to apply multiple build operations.
    Enclosing interface:
    SpriteAccessor<T>


    public static interface SpriteAccessor.SpriteBuilder<T,B extends SpriteAccessor.SpriteBuilder<T,B>>
    Provides a builder method for a sprite property returning the builder for applying multiple build operations.
    • Method Detail

      • withSprite

        B withSprite​(T aSprite)
        Sets the sprite for the sprite property.
        Parameters:
        aSprite - The sprite to be stored by the sprite property.
        Returns:
        The builder for applying multiple build operations.