X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml-runner;h=96b1efbcc717ae33e8e7727c7a41ce4a282f551f;hp=fc49988296b8d92a0d4aff88a6d66a0f2c122187;hb=9b685c2cd942cb5b1b0c0c400d9493419730df46;hpb=1efe1d12fc72141c05765f7db8a8e964cb6d2982 diff --git a/bulletml-runner b/bulletml-runner index fc49988..96b1efb 100755 --- a/bulletml-runner +++ b/bulletml-runner @@ -29,7 +29,7 @@ def main(argv): active = set([source]) source.vanished = True print filename - print " Loaded %d top-level actions." % len(source.actions) + print " Loaded %d top-level actions." % len(source._actions) frames = 0 total = 0 paused = False @@ -98,15 +98,6 @@ def main(argv): clock.tick(60) - for event in pygame.event.get(): - if event.type == pygame.QUIT: - raise SystemExit - elif event.type == pygame.KEYDOWN: - if event.key == pygame.K_SPACE: - paused ^= True - elif event.key == pygame.K_RIGHT: - go = True - print " Finished: %04d: %d bullets." % (frames, total) if __name__ == "__main__":