porymap/include/core/heallocation.h

29 lines
546 B
C
Raw Normal View History

2020-09-13 23:37:55 +01:00
#pragma once
2018-09-12 01:37:36 +01:00
#ifndef HEALLOCATION_H
#define HEALLOCATION_H
#include <QString>
#include <QDebug>
class Event;
2018-09-12 01:37:36 +01:00
class HealLocation {
public:
HealLocation()=default;
2022-09-10 03:44:42 +01:00
HealLocation(QString, QString, int, int16_t, int16_t, QString = "", uint8_t = 1);
2018-09-12 01:37:36 +01:00
friend QDebug operator<<(QDebug debug, const HealLocation &hl);
public:
QString idName;
QString mapName;
2018-09-12 01:37:36 +01:00
int index;
2022-09-09 22:41:50 +01:00
int16_t x;
int16_t y;
QString respawnMap;
2022-09-09 22:41:50 +01:00
uint8_t respawnNPC;
static HealLocation fromEvent(Event *);
2018-09-12 01:37:36 +01:00
};
#endif // HEALLOCATION_H