Changeset 331:5030ef2718ae
- Timestamp:
- 09/06/13 00:41:55 (9 years ago)
- Branch:
- default
- Phase:
- public
- Rebase:
- 34363961613538623361373664383433316562626234393237356530636631376138306333333933
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagslang/game_object.py
r319 r331 429 429 self.time_created = time.time() 430 430 431 def animate(self):432 super(ClawAttack, self). animate()431 def update(self, seconds): 432 super(ClawAttack, self).update(seconds) 433 433 position = (self.physicser.position.x, self.physicser.position.y) 434 434 r = self.get_space().segment_query(self.last_position, position) … … 437 437 shape = collision.shape 438 438 if (shape.collision_type == self.source_collision_type 439 or shape == self.physicser.get_shape()440 or shape.sensor):439 or shape == self.physicser.get_shape() 440 or shape.sensor): 441 441 continue 442 442 if hasattr(shape, 'physicser'):
Note:
See TracChangeset
for help on using the changeset viewer.