explosion!

This commit is contained in:
2015-05-12 08:01:57 -07:00
parent 6d1a8970d3
commit dbcbe7771e
25 changed files with 94 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
[play-clj.core :refer :all]
[play-clj.ui :refer :all]
[play-clj.utils :refer :all]
[play-clj.math :refer :all]
[play-clj.g2d :refer :all]))
(defn go-to-jail [entities]
@@ -107,4 +108,8 @@
:bloodclot-head "Yes!"
:bloodclot-head "Ultimate power is mine!"
:bloodclot-head "If I drink this entire bottle, I'll be as powerful as a god!")
(Thread/sleep 5000)))
(actions/remove-entity entities :bloodclot-head)
#_(particle-effect! (get-in @entities [:room :entities :blowup] ) :start)
(actions/play-animation entities :bloodclot :explode)
(Thread/sleep 15000)))