Ejemplo n.º 1
0
 def _create_full_cell(self):
     cell = Cell(Serialiser('location'), False, True)
     cell.avatar = Serialiser('avatar')
     cell.pickup = Serialiser('pickup')
     self.expected = {
         'avatar': 'avatar',
         'generates_score': True,
         'habitable': False,
         'location': 'location',
         'pickup': 'pickup',
         'partially_fogged': False
     }
     return cell
Ejemplo n.º 2
0
 def get_cell(self, location):
     cell = Cell(location)
     cell.pickup = self._pickup
     return cell