Changeset 180:7ccf365e28ea


Ignore:
Timestamp:
04/06/11 17:52:50 (12 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
Phase:
public
Rebase:
66306334613265623731626364306566633664303431633166636264333033346331306666306461
Message:

Sasuke

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/dialogue.py

    r179 r180  
    127127
    128128        self._fire_started = False
     129        self._cannon_destroyed = False
    129130
    130131        self.npcs = {}
     132
     133    def npc_is(self, npc_name, state):
     134        return self.npcs[npc_name].state == state
    131135
    132136    def fox_has_tea(self):
     
    142146        return self._fire_started
    143147
    144     def npc_is(self, npc_name, state):
    145         return self.npcs[npc_name].state == state
     148    def cannon_destroyed(self):
     149        return self._cannon_destroyed
Note: See TracChangeset for help on using the changeset viewer.