Class BlankScene

All Implemented Interfaces:
Behavior, Renderable, Closeable, AutoCloseable

public class BlankScene extends Scene
The BlankScene class is a custom scene for an application. It sets the background color to black when the scene starts.
  • Constructor Details

    • BlankScene

      public BlankScene(Application application)
      Constructs a new BlankScene object with the given application.
      Parameters:
      application - the application to which the scene belongs
  • Method Details

    • onStart

      public void onStart()
      Description copied from interface: Behavior
      This method is called when the behavior is started. It is typically used to initialize any necessary state or resources.
      Specified by:
      onStart in interface Behavior
      Overrides:
      onStart in class Entity2DContainer