Lab 01-2
This commit is contained in:
commit
6b49b2ba46
@ -1,6 +1,5 @@
|
|||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
//import javax.swing.*;
|
|
||||||
|
|
||||||
public class DrawningDumpTruck {
|
public class DrawningDumpTruck {
|
||||||
public EntityDumpTruck EntityDumpTruck;
|
public EntityDumpTruck EntityDumpTruck;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
|
|
||||||
public class DrawningWeels {
|
public class DrawningWeels {
|
||||||
|
|
||||||
private int count;
|
private int count;
|
||||||
DrawningWeels (int n){
|
DrawningWeels (int n){
|
||||||
count = n;
|
count = n;
|
||||||
@ -12,7 +11,6 @@ public class DrawningWeels {
|
|||||||
|
|
||||||
public void DrawningWeel (Graphics g, int x, int y){
|
public void DrawningWeel (Graphics g, int x, int y){
|
||||||
g.setColor(Color.BLACK);
|
g.setColor(Color.BLACK);
|
||||||
//g.fillOval(x, y, 25, 25);
|
|
||||||
|
|
||||||
switch (get_countWheels()){
|
switch (get_countWheels()){
|
||||||
case 2:
|
case 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user