flan/test/programs/assets/edn/tuning.edn

12 lines
363 B
Clojure

;; A tuning file with one of each shape defedn derives, so that the struct it
;; produces exercises every arm: a string, an integer, a float, a boolean, a
;; homogeneous vector, a nested map, and a nested map inside that one.
{:name "goblin"
:hp 12
:speed 1.5
:is-boss false
:drops [3 1 4 1 5]
:hitbox {:w 16
:h 24
:offset {:x -2 :y 0}}}