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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user