public advanceTime() { // First advance and drop the trail. if (!this.bomb_.isMine() && Labs.BOMB_TRAILS) { let animation = this.game_.getResourceManager().getSpriteSheet('bombTrails').getAnimation(this.bomb_.getLevel()); new Effect(this.game_, animation, this.bomb_.getPosition(), Vector.ZERO, Layer.TRAILS); } this.animation_.update(); this.bouncingAnimation_.update(); }
public advanceTime() { this.animation_.update(); this.position_ = this.position_.add(this.velocity_); if (!this.animation_.isRunning()) { this.invalidate(); } }
public advanceTime() { this.animation_.update(); if (!this.animation_.isRunning()) { this.invalidate(); } }
public advanceTime() { this.activeAnimation_.update(); this.inactiveAnimation_.update(); }
public advanceTime() { this.animation_.update(); this.bouncingAnimation_.update(); }