- 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.
19 lines
297 B
C++
19 lines
297 B
C++
#ifndef _GUIBACKGROUND_H_
|
|
#define _GUIBACKGROUND_H_
|
|
|
|
#include "GuiLayers.h"
|
|
#include "WEvent.h"
|
|
|
|
class GuiBackground: public GuiLayer
|
|
{
|
|
protected:
|
|
JQuad* quad;
|
|
|
|
public:
|
|
GuiBackground(GameObserver* observer);
|
|
~GuiBackground();
|
|
virtual void Render();
|
|
};
|
|
|
|
#endif // _GUIBACKGROUND_H_
|