in pyglet's frame work, i may have to seperate render and logic