def update( delta ): global scrollX global scrollY PC.markDirty() scrollX += (rightDown - leftDown) * 2 scrollY += (downDown - upDown) * 2 map.update(delta, scrollX, scrollY)
def update(delta): # Tell the engine that we need to call the draw function PC.markDirty() # update the player player.update(delta) # update the things for t in things: t.update(delta)
def update( delta ): # Tell the engine that we need to call the draw function PC.markDirty() # update the player player.update( delta ) # update the things for t in things: t.update( delta )
def update( delta ): PC.markDirty()
def update(delta): PC.markDirty()
def update( delta ): PC.markDirty() player.update(delta)