Skip to content

Commit

Permalink
Task is done v1.
Browse files Browse the repository at this point in the history
  • Loading branch information
PiotrHic committed Dec 21, 2024
1 parent 9ea9143 commit 4ebf4bc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package core.basesyntax.inter;
package core.basesyntax;

public interface Behavior {
void draw();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package core.basesyntax.suppliers;
package core.basesyntax;

import java.util.Random;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package core.basesyntax.suppliers;
package core.basesyntax;

import core.basesyntax.figures.*;
import core.basesyntax.*;

import java.util.Random;

Expand Down
4 changes: 0 additions & 4 deletions src/main/java/core/basesyntax/HelloWorld.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package core.basesyntax;

import core.basesyntax.figures.*;
import core.basesyntax.suppliers.ColorSupplier;
import core.basesyntax.suppliers.FigureSupplier;

/**
* Feel free to remove this class and create your own.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package core.basesyntax.figures;
package core.basesyntax;

import core.basesyntax.Figure;

public class IsoscelesTrapezoid extends Figure {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package core.basesyntax.figures;
package core.basesyntax;

public class Rectangle extends Figure{
import core.basesyntax.Figure;

public class Rectangle extends Figure {

private int side1;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package core.basesyntax.figures;
package core.basesyntax;

public class Square extends Figure{
import core.basesyntax.Figure;

public class Square extends Figure {

// Figure: square, area: 25.0 sq. units, side: 5 units, color: blue

Expand Down

0 comments on commit 4ebf4bc

Please sign in to comment.