Class Enemy3

java.lang.Object
  extended by Actor
      extended by QuantumObject
          extended by Spaceship
              extended by AIControlledSpaceship
                  extended by Enemy3

public class Enemy3
extends AIControlledSpaceship

A quite big enemy. TODO: not yet implemented finally.


Field Summary
 
Fields inherited from class AIControlledSpaceship
initial_speed, speed_deviation
 
Fields inherited from class Spaceship
angled_guns, blink, blink_file, GUN_ANGLE, GUN_DISTANCE, guns, hitpoints, level, max_blink, max_hitpoints, n_guns, N_GUNS, side
 
Fields inherited from class QuantumObject
destroysOnNextTurn, disappear, mantissa, speed
 
Constructor Summary
Enemy3(int the_level)
           
 
Method Summary
 void act()
          A day in the life of a quantum object: 1.
 void setSide(int the_side)
           
 
Methods inherited from class AIControlledSpaceship
beforeDestruction, getDeviation, getInitialSpeed, hit, setDeviation, setInitialSpeed
 
Methods inherited from class Spaceship
addGun, addHitpoints, angle, doBlink, fire, getBlinkFile, getHitpoints, getLevel, getMaxBlink, getMaxHitpoints, getNumberOfGuns, getSide, hit, removeGun, removeHitpoints, reorderGuns, setAngledGuns, setBlinkFile, setHitpoints, setLevel, setMaxBlink, setMaxHitpoints, setupImages
 
Methods inherited from class QuantumObject
getDestroysOnNextTurn, getSpeed, move, setDestroysOnNextTurn, setSpeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Enemy3

public Enemy3(int the_level)
Method Detail

act

public void act()
Description copied from class: QuantumObject
A day in the life of a quantum object: 1. Maybe commit suicide (i. e. destroys itself when destroysOnNextTurn is true) 2. Do quantum object interactions with intersecting objects 3. -- Err... are you missing point 3?

Overrides:
act in class AIControlledSpaceship

setSide

public void setSide(int the_side)
Overrides:
setSide in class Spaceship