- removed every references to the gameobserver singleton. This object can now be instantiated several times as it's needed for minmax. To be able to do that, I mostly added a reference to a gameobserver from any targetable object (cards, players, spells) and abilities.
16 lines
286 B
C++
16 lines
286 B
C++
#ifndef _GUI_CARDS_CONTROLLER_H_
|
|
#define _GUI_CARDS_CONTROLLER_H_
|
|
|
|
#include "PlayGuiObjectController.h"
|
|
|
|
class GuiCardsController: public PlayGuiObjectController
|
|
{
|
|
public:
|
|
GuiCardsController(GameObserver*observer)
|
|
: PlayGuiObjectController(observer)
|
|
{
|
|
};
|
|
};
|
|
|
|
#endif
|