public virtual void Update(SkillObjMoveController ctrl, SkillBulletMove move, float deltaTime, float timeMS) { float dis = move.UpdateMove2D(deltaTime, timeMS); ctrl.SetMovingDistance(ctrl.GetMovingDistance() + dis); ctrl.SetLifeTime(ctrl.GetLifeTime() - deltaTime / 1000f); }
public override void Update(SkillObjMoveController ctrl, SkillBulletMove move, float deltaTime, float timeMS) { ctrl.SetLifeTime(ctrl.GetLifeTime() - deltaTime / 1000f); return; }