Esempio n. 1
0
 /**
  * **************************************************************************** reset() method. *
  * Puts the baddie into its just-constructed state. *
  * ****************************************************************************
  */
 void reset() {
   super.reset();
   m_speed = 2.0;
   m_targetPosSampleInterval = 0;
   m_targetPosSampleIntervalReset = (int) (Math.random() * PROWLER_STUPIDITY);
   m_deadDx = 0;
   m_deadDy = 0;
   m_frameHalf = 0;
 }
Esempio n. 2
0
 /**
  * **************************************************************************** reset() method. *
  * Puts the baddie into its just-constructed state. *
  * ****************************************************************************
  */
 void reset() {
   super.reset();
   m_speed = 2.0;
   m_targetPosSampleInterval = 0;
   m_targetPosSampleIntervalReset = (int) (Math.random() * GRUNT_STUPIDITY);
 }