WIP Reliable Message
This commit is contained in:
@@ -29,7 +29,7 @@ void RayTest(std::string fileName) {
|
||||
Ray ray(glm::vec3(-50, 0, 0), glm::vec3(1, 0, 0));
|
||||
//using a
|
||||
|
||||
here, else we have to init the renderingsystem
|
||||
//here, else we have to init the renderingsystem
|
||||
ResourceManager::RegisterType<RawModel>("RawModel");
|
||||
auto unitBox = ResourceManager::Load<RawModel>(fileName);
|
||||
BOOST_REQUIRE(unitBox != nullptr);
|
||||
|
||||
@@ -69,8 +69,8 @@ GameHealthSystemTest::GameHealthSystemTest()
|
||||
m_EventBroker->Publish(e3);
|
||||
//damage player with 50
|
||||
Events::PlayerDamage e;
|
||||
e.DamageAmount = 50.0f;
|
||||
e.PlayerDamagedID = healthsID;
|
||||
// e.DamageAmount = 50.0f;
|
||||
// e.PlayerDamagedID = healthsID;
|
||||
m_EventBroker->Publish(e);
|
||||
//heal some other player with 40
|
||||
Events::PlayerHealthPickup e2;
|
||||
|
||||
Reference in New Issue
Block a user