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