emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pacmacs 78be23ea40 392/472: Remove make-terrifed-ghost fun


From: ELPA Syncer
Subject: [nongnu] elpa/pacmacs 78be23ea40 392/472: Remove make-terrifed-ghost function
Date: Thu, 6 Jan 2022 21:59:42 -0500 (EST)

branch: elpa/pacmacs
commit 78be23ea40a60aa0982ba6593c04b191d256572c
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>

    Remove make-terrifed-ghost function
    
    It's not used anywhere anymore. Right now we terrify ghosts by explicit
    changing the ghost's object structure.
---
 pacmacs.el | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index 973561a53a..a320969594 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]