[pygame] roguelike question

2010-10-04 Thread Michael Schultz
Hi, new to the list, but not the language. I'm completely at home with Python :) Right now, I'm coding a roguelike game, and am having trouble getting the map to update changes. I've got movement and collision detection, but for whatever reason, the changes to the map are not being updated.

Re: [pygame] roguelike question

2010-10-04 Thread Michael Schultz
Well, the idea that you need to put it in a class in order to access it in the files that needed it is certainly not correct. You could do it that way, however like Marius says, that's a very strange usage. A more sensible usage could be: 1. Scrap the class, move the two functions out