first commit
This commit is contained in:
BIN
Lab 5/out/production/Lab 5/barnestr/Cell.class
Normal file
BIN
Lab 5/out/production/Lab 5/barnestr/Cell.class
Normal file
Binary file not shown.
BIN
Lab 5/out/production/Lab 5/barnestr/Controller.class
Normal file
BIN
Lab 5/out/production/Lab 5/barnestr/Controller.class
Normal file
Binary file not shown.
BIN
Lab 5/out/production/Lab 5/barnestr/Lab5.class
Normal file
BIN
Lab 5/out/production/Lab 5/barnestr/Lab5.class
Normal file
Binary file not shown.
BIN
Lab 5/out/production/Lab 5/barnestr/LifeGrid.class
Normal file
BIN
Lab 5/out/production/Lab 5/barnestr/LifeGrid.class
Normal file
Binary file not shown.
38
Lab 5/out/production/Lab 5/barnestr/gameOfLife.fxml
Normal file
38
Lab 5/out/production/Lab 5/barnestr/gameOfLife.fxml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
<VBox alignment="BOTTOM_CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="650.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/9.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="barnestr.Controller">
|
||||
<children>
|
||||
<Pane fx:id="gamePane" maxHeight="600.0" maxWidth="600.0" minHeight="600.0" minWidth="600.0" onMouseClicked="#mouseClick" prefHeight="600.0" prefWidth="600.0" />
|
||||
<HBox fx:id="buttons" alignment="CENTER" prefHeight="50.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Button fx:id="nextButton" alignment="TOP_CENTER" mnemonicParsing="false" onAction="#iterate" prefWidth="95.0" text="Next">
|
||||
<opaqueInsets>
|
||||
<Insets />
|
||||
</opaqueInsets>
|
||||
<HBox.margin>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Label fx:id="aliveDeadCount" text="Alive: Dead:" />
|
||||
<Button fx:id="randomizeButton" alignment="BOTTOM_RIGHT" mnemonicParsing="false" onAction="#randomize" prefWidth="95.0" text="Randomize All">
|
||||
<opaqueInsets>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</opaqueInsets>
|
||||
<HBox.margin>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<opaqueInsets>
|
||||
<Insets />
|
||||
</opaqueInsets>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
Reference in New Issue
Block a user