- 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.
21 lines
330 B
C++
21 lines
330 B
C++
#ifndef _GUIFRAME_H_
|
|
#define _GUIFRAME_H_
|
|
|
|
#include "GuiLayers.h"
|
|
|
|
class GuiFrame : public GuiLayer
|
|
{
|
|
protected:
|
|
JQuadPtr wood;
|
|
JQuadPtr gold1, gold2, goldGlow;
|
|
float step;
|
|
|
|
public:
|
|
GuiFrame(GameObserver* observer);
|
|
~GuiFrame();
|
|
virtual void Render();
|
|
void Update(float dt);
|
|
};
|
|
|
|
#endif // _GUIFRAME_H_
|