Skip to content

Commit

Permalink
Remove make-terrifed-ghost function
Browse files Browse the repository at this point in the history
It's not used anywhere anymore. Right now we terrify ghosts by explicit
changing the ghost's object structure.
  • Loading branch information
rexim committed Dec 17, 2015
1 parent a97d195 commit 78be23e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pacmacs.el
Expand Up @@ -185,21 +185,6 @@
(defun pacmacs--switch-direction-callback (game-object direction)
(plist-put game-object :direction direction))

(defun pacmacs--make-terrified-ghost (row column)
(list :row row
:column column
:init-row row
:init-column column
:prev-row row
:prev-column column
:direction 'right
:current-animation (pacmacs-load-anim "Terrified-Ghost")
:switch-direction-callback #'pacmacs--switch-direction-callback
:speed 1
:speed-counter 0
:type 'terrified-ghost
:terrified-timer pacmacs--ghost-terrified-time-ms))

(defun pacmacs--make-ghost (row column)
(list :row row
:column column
Expand Down

0 comments on commit 78be23e

Please sign in to comment.