Question: use inteelliJ software Task 8 Define a stage class that can contain one Grid object and many Character objects. There must be three separate characters,

use inteelliJ software
Task 8 Define a stage class that can contain one Grid object and many Character objects. There must be three separate characters, each a subclass of a character interface and each must have its own paint method. The paint method must take a Graphics parameter and draw the character on that graphic. Have the paint method specified in the character interface and have each subclass define it. Since character s are drawing themselves, they need to know where they are on the screen so each will have a cell field (that is set in the constructor) indicating where on the grid they are. Have the program start with 1 grid and 3 characters: . Sheep (drawn white) . Wolf (drawn red) Shepherd (drawn green)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
