Question
Do not give me random java solutions that have nothing to do with my problem. I will thumbs down Do not give me random java
Do not give me random java solutions that have nothing to do with my problem. I will thumbs down
Do not give me random java solutions that have nothing to do with my problem. I will thumbs down
Do not give me random java solutions that have nothing to do with my problem. I will thumbs down
Do not give me random java solutions that have nothing to do with my problem. I will thumbs down
Show me a screenshot of your code and output if you want thumbs up
Java 11 Codename One
How would you create this(the 3 magenta color)
1. Must have
class fire{
/*
This class represents a single fire burning.
The fire is represented on the screen by a magenta circle. For this version of the game, you will create three fire objects.
Two above, one on the right and one of the left, and one below centered vertically and horizontally in the space below
Each of your fire objects must have some slight random variation both size and position when placed so that each time you play the game both the position and size are slightly different.
You will need to store the fire objects in a Java Collection object so that the fires can be iterated over at different points in the game.
In addition to displaying a circle, each fire circle must display its width to the lower right of the circle. The reason for this is in case the fire circle gets very small; the non-zero width will be immediately visible to the player.
*/
}
379 433 O 443 : F : 1585 W:0 package org.csc133.al; 1 2 3 4 import com.codename1.system.Lifecycle; import com.codename1.ui.*; 5 NM N 000 6 7 8 public class AppMain extends Lifecycle { @Override public void runApp() { new Game(); } } 9 10 11 12 13 class Game extends Form implements Runnablet 14 15 16 @Override public void run() { 17 18 19 } } 20 21 22 23 24 class Rivert //... } 25 class Fire { // ... } 26 27 28 29 30 // etc
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started