Crossfire Server, Trunk
MonsterResistances.h
Go to the documentation of this file.
1
/*
2
* Crossfire -- cooperative multi-player graphical RPG and adventure game
3
*
4
* Copyright (c) 2022 the Crossfire Development Team
5
*
6
* Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7
* welcome to redistribute it under certain conditions. For details, please
8
* see COPYING and LICENSE.
9
*
10
* The authors can be reached via e-mail at <crossfire@metalforge.org>.
11
*/
12
13
#ifndef MONSTERR_ESISTANCES_H
14
#define MONSTERR_ESISTANCES_H
15
16
#include <QDialog>
17
#include <map>
18
class
QGraphicsView;
19
class
QGraphicsScene;
20
24
class
MonsterResistances
:
public
QDialog {
25
Q_OBJECT
26
public
:
27
MonsterResistances
(QWidget *parent);
28
29
private
:
30
void
buildGraph
();
31
32
QGraphicsView *
myDisplay
;
33
QGraphicsScene *
myScene
;
34
std::map<int, QColor>
myResistances
;
35
};
36
37
#endif
/* MONSTER_RESISTANCES_H */
MonsterResistances
Definition:
MonsterResistances.h:24
MonsterResistances::myResistances
std::map< int, QColor > myResistances
Definition:
MonsterResistances.h:34
MonsterResistances::buildGraph
void buildGraph()
Definition:
MonsterResistances.cpp:57
MonsterResistances::myScene
QGraphicsScene * myScene
Definition:
MonsterResistances.h:33
MonsterResistances::myDisplay
QGraphicsView * myDisplay
Definition:
MonsterResistances.h:32
MonsterResistances::MonsterResistances
MonsterResistances(QWidget *parent)
Definition:
MonsterResistances.cpp:37
crossfire-crossfire-server
utils
cre
MonsterResistances.h
Generated by
1.8.17