Arrow is now movable around the canvas

-Arrow method is changed to take coordinates and an angle
-Arrow will now be drawn around the coordinate

#story [14]
This commit is contained in:
David Wu
2017-03-16 17:44:24 +13:00
parent 43c84cb677
commit ddbb77a610
2 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
<items>
<AnchorPane fx:id="canvasBase" minHeight="0.0" minWidth="0.0">
<children>
<Canvas fx:id="raceMap" height="600.0" width="600.0" />
<Canvas fx:id="raceMap" height="600.0" width="600.0" AnchorPane.bottomAnchor="-202.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="-155.0" AnchorPane.topAnchor="0.0" />
</children>
</AnchorPane>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">