Here is my problem : I use a Strategy pattern, so i have my Strategy abstract class, my ConcreteStrategy class and my Player class. But, in my ConcreteStrategy, I must access to my Player object.
My question is, knowing that Player have a Strategy, and that, as my teacher told me, I must not include Player in Strategy class, how can I access to Player without including it in my Strategy ?
Thanks
Aucun commentaire:
Enregistrer un commentaire