Line of sight now works, and is required to look at things. Foundations for NPCs has also been laid.
This commit is contained in:
parent
267f0e9123
commit
e0b88e7a45
4 changed files with 151 additions and 17 deletions
|
@ -98,3 +98,8 @@ class DropEvent(GameEvent):
|
|||
def __init__(self, item):
|
||||
super(DropEvent, self).__init__('drop')
|
||||
self.item = item
|
||||
|
||||
class BehaveEvent(GameEvent):
|
||||
def __init__(self, actor):
|
||||
super(BehaveEvent, self).__init__('behave')
|
||||
self.actor = actor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue