promoted StatsWrapper struct into class
altered deck editor information display for statistics
This commit is contained in:
@@ -1,11 +1,22 @@
|
||||
#pragma once
|
||||
#include "DeckMenu.h"
|
||||
#include "DeckDataWrapper.h"
|
||||
#include "DeckStats.h"
|
||||
|
||||
class DeckEditorMenu :
|
||||
public DeckMenu
|
||||
{
|
||||
protected:
|
||||
string deckTitle;
|
||||
|
||||
private:
|
||||
void drawDeckStatistics();
|
||||
|
||||
DeckDataWrapper *selectedDeck;
|
||||
StatsWrapper *stw;
|
||||
|
||||
public:
|
||||
DeckEditorMenu(int id, JGuiListener* listener = NULL, int fontId = 1, const char * _title = "");
|
||||
DeckEditorMenu(int id, JGuiListener* listener = NULL, int fontId = 1, const char * _title = "", DeckDataWrapper *selectedDeck = NULL, StatsWrapper *stats = NULL);
|
||||
void Render();
|
||||
~DeckEditorMenu();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user