forked from rosebudai/OpenRCT2-Web
Move remaining EntityBase functions to EntityBase.cpp
This commit is contained in:
4 files changed
+76
-76
No files matched your search
@@ -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