Skip to content

Commit

Permalink
Added square.fxml (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Kumar <harsh19043@iiitd.ac.in>
  • Loading branch information
hadron43 committed Nov 22, 2020
1 parent 377e611 commit 55d3604
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/obstacles/square.fxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.net.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.shape.*?>

<Pane xmlns:fx="http://javafx.com/fxml/1" fx:id="circle" prefHeight="350" prefWidth="350" xmlns="http://javafx.com/javafx/11.0.1" fx:controller="obstacles.ObstaclesController">

<stylesheets>
<URL value="@../style/style.css" />
</stylesheets>

<Pane layoutX="138.0" layoutY="138.0" prefHeight="75" prefWidth="75">
<Pane fx:id="star" />
</Pane>
<Rectangle arcHeight="5.0" arcWidth="5.0" height="350.0" layoutX="323.0" styleClass="fill-purple" width="28.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" height="28.0" layoutX="1.0" layoutY="322.0" styleClass="fill-pink" width="350.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" height="350.0" styleClass="fill-yellow" width="28.0" />
<Rectangle arcHeight="5.0" arcWidth="5.0" height="28.0" layoutX="0.0" layoutY="0.0" styleClass="fill-blue" width="350.0" />
</Pane>

0 comments on commit 55d3604

Please sign in to comment.