All pastes #909959 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-02-19 17:23 UTC
rendered paste body
#to controll which zone you are in and which area of that zone
class ZoneControll():
	
	def CurrentZone(self):
		if Global.CurrentZone == "SterlingField":
			self.Area = Global.CurrentArea["central"]
			Global.MapData = os.path.join (Global.CurrentZone,Global.CurrentZone[self.Area])
			Global.MapImage = pygame.image.load(Global.MapData).convert_alpha()
			#draw the map
			Global.screen.blit(Global.MapImage,(0,0))