mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-05 22:09:52 +01:00
20 lines
378 B
Python
20 lines
378 B
Python
#!/usr/bin/env python2.6
|
|
from framework import Game
|
|
|
|
class Poly2Tri(Game):
|
|
|
|
#Screen size
|
|
screen_size = 800.0, 600.0
|
|
|
|
def __init__(self):
|
|
super(Poly2Tri, self).__init__(*self.screen_size)
|
|
self.main_loop()
|
|
|
|
def update(self):
|
|
pass
|
|
|
|
def render(self):
|
|
pass
|
|
|
|
if __name__ == '__main__':
|
|
demo = Poly2Tri() |