HealthSystemTest has been created. This runs a single test simple test with HealthEvents and HealthSystem. Also some minor changes
This commit is contained in:
@@ -11,6 +11,8 @@ struct PlayerDamage : Event
|
||||
{
|
||||
double DamageAmount;
|
||||
EntityID PlayerDamagedID;
|
||||
//optional TypeOfDamage
|
||||
std::string TypeOfDamage;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -9,8 +9,10 @@ namespace Events
|
||||
|
||||
struct PlayerDeath : Event
|
||||
{
|
||||
std::string KilledBy;
|
||||
//KilledBy,KilledByWhat is optional for now. It might be used later in the playerlog-system
|
||||
EntityID KilledBy;
|
||||
EntityID PlayerID;
|
||||
std::string KilledByWhat;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -10,8 +10,7 @@ namespace Events
|
||||
struct PlayerHealthPickup : Event
|
||||
{
|
||||
double HealthAmount;
|
||||
EntityID HealthPickupID;
|
||||
EntityID playerHealedID;
|
||||
EntityID PlayerHealedID;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user