Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

*/

}

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

Explain how the real rate of interest is determined.

Answered: 1 week ago

Question

What is the growth rate of GDP per capita?

Answered: 1 week ago

Question

Discuss the techniques of sales forecasting.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago