Ejemplo n.º 1
0
 private void startLowerWait(VelocityComponent velComp, SmushComponent smushComp, TimerComponent timerComp, Entity e)
 {
     velComp.setVelocity(0, 0);
     smushComp.setStateLowerWait();
     if (!timerComp.hasTimer(upperWaitTimer))
     {
         timerComp.addTimer(lowerWaitTimer, smushComp.getLowerWaitTime());
     }
 }