20 lines
339 B
C++
20 lines
339 B
C++
#ifndef EPlayerDeath_h__
|
|
#define EPlayerDeath_h__
|
|
|
|
#include "EventBroker.h"
|
|
#include "../Core/Entity.h"
|
|
|
|
namespace Events
|
|
{
|
|
|
|
struct PlayerDeath : Event
|
|
{
|
|
//KilledBy,KilledByWhat is optional for now. It might be used later in the playerlog-system
|
|
EntityID KilledBy;
|
|
EntityID PlayerID;
|
|
std::string KilledByWhat;
|
|
};
|
|
|
|
}
|
|
|
|
#endif |