Matt Low
c313b3e8ba
- Move all pygame draw calls into draw module - Scrap indvidual shape modules for single 'geom' module - Center of screen is now 0,0
21 lines
275 B
Python
Executable File
21 lines
275 B
Python
Executable File
#!/usr/bin/env python
|
|
import geom
|
|
import pygame
|
|
import sys
|
|
|
|
def main():
|
|
pygame.init()
|
|
geom.init()
|
|
|
|
clock = pygame.time.Clock()
|
|
elapsed = 0
|
|
while geom.loop():
|
|
clock.tick(60)
|
|
|
|
pygame.quit()
|
|
sys.exit()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|