Move remaining EntityBase functions to EntityBase.cpp

This commit is contained in:
ζeh Matt committed 2021-11-27 15:12:57 +02:00
1 parent bcb527d331
commit 496fdfd3eb
4 files changed
+76 -76

No files matched your search

+15
View File
@@ -16,6 +16,21 @@
#include <iterator>
template<> bool EntityBase::Is<SteamParticle>() const
{
return Type == EntityType::SteamParticle;
}
template<> bool EntityBase::Is<ExplosionFlare>() const
{
return Type == EntityType::ExplosionFlare;
}
template<> bool EntityBase::Is<ExplosionCloud>() const
{
return Type == EntityType::ExplosionCloud;
}
template<> bool EntityBase::Is<VehicleCrashParticle>() const
{
return Type == EntityType::CrashedVehicleParticle;