geom-demo/geom.py
Matt Low c313b3e8ba Refactors
- Move all pygame draw calls into draw module
- Scrap indvidual shape modules for single 'geom' module
- Center of screen is now 0,0
2020-11-14 21:15:47 +04:00

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()