[WIP] Clean old methods used only in GD4 in objects and behaviors (2)

This commit is contained in:
Florian Rival
2019-04-21 19:40:05 +01:00
parent edd98d8bd5
commit d59f40ff5d
43 changed files with 206 additions and 2558 deletions
@@ -623,6 +623,17 @@ void ParticleEmitterObject::ExposeResources(
SetParticleTexture(texture);
}
void RuntimeParticleEmitterObject::GetPropertyForDebugger(
std::size_t propertyNb, gd::String& name, gd::String& value) const {
if (!GetParticleSystem() || !GetParticleSystem()->particleSystem) return;
if (propertyNb == 0) {
name = _("Particles number");
value =
gd::String::From(GetParticleSystem()->particleSystem->getNbParticles());
}
}
bool RuntimeParticleEmitterObject::ChangeProperty(std::size_t propertyNb,
gd::String newValue) {
if (propertyNb == 0) {