Пример #1
0
        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);
        }
Пример #2
0
 public override void Update(SkillObjMoveController ctrl, SkillBulletMove move, float deltaTime, float timeMS)
 {
     ctrl.SetLifeTime(ctrl.GetLifeTime() - deltaTime / 1000f);
     return;
 }
Пример #3
0
 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);
 }
Пример #4
0
 public override void Update(SkillObjMoveController ctrl, SkillBulletMove move, float deltaTime, float timeMS)
 {
     ctrl.SetLifeTime(ctrl.GetLifeTime() - deltaTime / 1000f);
     return;
 }