1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Move remaining EntityBase functions to EntityBase.cpp

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

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;