Fully pivot to pirates, some UI

This commit is contained in:
2023-11-06 11:49:58 -06:00
parent 7dbdaa6888
commit a270a2a806
4 changed files with 33 additions and 22 deletions

View File

@@ -1,6 +1,7 @@
;; you should be in space-sim.core>
;; you should be in age-of-sail.core>
(def my-ship (ref {:position [0. 0.]
:name "Virgina Woolfe"
:heading (normalize [1.0 1.0])
:slots [{:type :downwind-sail :length 2 :furl 1.0}]
:velocity [1. 0.]}))
@@ -9,8 +10,7 @@
(start-program)
@my-ship
(dosync (alter my-ship assoc :heading (normalize [0. 1.])))
(stop-program)
(show-ui)
@tracked-ship