porymap/include/core/heallocation.h

24 lines
434 B
C
Raw Normal View History

2018-09-12 01:37:36 +01:00
#ifndef HEALLOCATION_H
#define HEALLOCATION_H
#include "event.h"
2018-09-12 01:37:36 +01:00
#include <QString>
#include <QDebug>
class HealLocation {
public:
HealLocation()=default;
2018-09-15 00:37:36 +01:00
HealLocation(QString, int, uint16_t, uint16_t);
2018-09-12 01:37:36 +01:00
friend QDebug operator<<(QDebug debug, const HealLocation &hl);
public:
QString name;
int index;
2018-09-15 00:37:36 +01:00
uint16_t x;
uint16_t y;
static HealLocation fromEvent(Event*);
2018-09-12 01:37:36 +01:00
};
#endif // HEALLOCATION_H