}
@Override
public void updateActorTransform() {
super.updateActorTransform();
Vector2D pos = Interpolation.getPositionInterpolation(m_oldPosition, m_position, Singleton.getWorldModel().getInterpolation());
Singleton.getVisualisation().updateTextActor(m_textActorName, m_playerName, getCenter().x - 32, getCenter().y + 64);//pos.x+32, pos.y+64);
Vector2D center = getCenter();
if (m_powerDown) {
Singleton.getVisualisation().setActorTeint(m_name, new Color(0, 1, 0, 1));
Singleton.getVisualisation().updateParticleActor(m_name + "_smoke", center.x, center.y, true);
} else if (m_boost) {
center.translate(getDirection().scale(-32));
Singleton.getVisualisation().updateParticleActor(m_name + "_smoke", center.x, center.y, true);
} else {
Singleton.getVisualisation().setActorTeint(m_name, new Color(1, 1, 1, 1));
}
center = getCenter();
center.translate(getDirection().scale(-32));
Singleton.getVisualisation().updateParticleActor(m_name + "_durt", center.x, center.y, m_durt);
Singleton.getVisualisation().updateParticleActor(m_name + "_burn", center.x, center.y, m_shift && Singleton.getPhysics().getLinearVelocity(m_name).length() > 50);
center = getCenter();