jeudi 17 décembre 2015

Use Strategy pattern on a Python/Pygame project

I'm working on a project on python, we have to create a Maniac Shooter game with the library pygame. At the moment I'm trying to use a Strategy pattern to create ennemi that can move (and shoot) with a specific pattern. The is the structure I have imagined for my program

I don't know how to use it properly. I'm not going to put all my code here unless someone is interested in helping me. Sorry for my bad english, I'm french.

Aucun commentaire:

Enregistrer un commentaire