示例#1
0
def update( delta ):
	global scrollX
	global scrollY
	
	PC.markDirty()
	
	scrollX += (rightDown - leftDown) * 2
	scrollY += (downDown - upDown) * 2
	
	map.update(delta, scrollX, scrollY)
示例#2
0
文件: game.py 项目: seem-sky/tuxcap
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)
示例#3
0
文件: game.py 项目: keestux/tuxcap
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 )
示例#4
0
文件: game.py 项目: keestux/tuxcap
def update( delta ):
    PC.markDirty()
示例#5
0
def update(delta):
    PC.markDirty()
示例#6
0
def update( delta ):
	PC.markDirty()

	player.update(delta)