Class Draw
java.lang.Object
davidmarino.model.MapDungeon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
Executes the start of the generation.void
setBackground
(Graphics2D g2, Color color) Renders the background.
-
Constructor Details
-
Draw
public Draw()
-
-
Method Details
-
setBackground
Renders the background.- Parameters:
g2
- is the render librarycolor
- of the background
-
run
public void run()Executes the start of the generation.
-