projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Properly implement player movement.
[naja.git]
/
naja
/
events.py
diff --git
a/naja/events.py
b/naja/events.py
index 1b57ee0dc3244bc0c7dc2077485f7671b0ec6ad5..11adab0f7528cbd68e88adf32275d4ab39ff8be9 100644
(file)
--- a/
naja/events.py
+++ b/
naja/events.py
@@
-41,3
+41,8
@@
class InvalidateTheWorld(NajaEvent):
class SelectEvent(NajaEvent):
TYPE = "SELECT"
+
+
+class PlayerMoved(NajaEvent):
+ # This is used to signal to widgets that care that the player has moved.
+ TYPE = "PLAYER_MOVED"