コード例 #1
0
ファイル: Prowler.java プロジェクト: statenlogic/bozotron
 /**
  * **************************************************************************** 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;
 }
コード例 #2
0
ファイル: Grunt.java プロジェクト: statenlogic/bozotron
 /**
  * **************************************************************************** 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);
 }