Class Draw

java.lang.Object
davidmarino.model.MapDungeon

public class Draw extends Object
The Draw class is used to set up and render all objects.
  • Constructor Details

    • Draw

      public Draw()
  • Method Details

    • setBackground

      public void setBackground(Graphics2D g2, Color color)
      Renders the background.
      Parameters:
      g2 - is the render library
      color - of the background
    • run

      public void run()
      Executes the start of the generation.