From: mkersten Date: Wed, 7 Apr 2004 21:33:40 +0000 (+0000) Subject: Removed generated docs since they're not yet being used by the test suite, and add... X-Git-Tag: Root_ajdt_support~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8fc436f8faf9430f143de6d874f0a677f56748a0;p=aspectj.git Removed generated docs since they're not yet being used by the test suite, and add noise to CVS. --- diff --git a/ajdoc/testdata/spacewar/doc/allclasses-frame.html b/ajdoc/testdata/spacewar/doc/allclasses-frame.html deleted file mode 100644 index 3e89615bc..000000000 --- a/ajdoc/testdata/spacewar/doc/allclasses-frame.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -All Classes - - - - - - - - - - -All Classes -
- - - - - -
Bullet -
-Condition -
-CoordinationAction -
-Coordinator -
-Debug -
-Display -
-Display.DisplayAspect -
-Display1 -
-Display1.SpaceObjectPainting -
-Display2 -
-Display2.SpaceObjectPainting -
-EnergyPacket -
-EnergyPacketProducer -
-EnsureShipIsAlive -
-Exclusion -
-Game -
-GameSynchronization -
-InfoWin -
-KeyMapping -
-Method -
-MethodState -
-Mutex -
-Pilot -
-Player -
-Registry -
-Registry.RegistrationProtection -
-RegistrySynchronization -
-Robot -
-SWFrame -
-Selfex -
-Ship -
-SpaceObject -
-TimeoutException -
-Timer -
-
- - - diff --git a/ajdoc/testdata/spacewar/doc/allclasses-noframe.html b/ajdoc/testdata/spacewar/doc/allclasses-noframe.html deleted file mode 100644 index 43a9af989..000000000 --- a/ajdoc/testdata/spacewar/doc/allclasses-noframe.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -All Classes - - - - - - - - - - -All Classes -
- - - - - -
Bullet -
-Condition -
-CoordinationAction -
-Coordinator -
-Debug -
-Display -
-Display.DisplayAspect -
-Display1 -
-Display1.SpaceObjectPainting -
-Display2 -
-Display2.SpaceObjectPainting -
-EnergyPacket -
-EnergyPacketProducer -
-EnsureShipIsAlive -
-Exclusion -
-Game -
-GameSynchronization -
-InfoWin -
-KeyMapping -
-Method -
-MethodState -
-Mutex -
-Pilot -
-Player -
-Registry -
-Registry.RegistrationProtection -
-RegistrySynchronization -
-Robot -
-SWFrame -
-Selfex -
-Ship -
-SpaceObject -
-TimeoutException -
-Timer -
-
- - - diff --git a/ajdoc/testdata/spacewar/doc/constant-values.html b/ajdoc/testdata/spacewar/doc/constant-values.html deleted file mode 100644 index da02af6fc..000000000 --- a/ajdoc/testdata/spacewar/doc/constant-values.html +++ /dev/null @@ -1,200 +0,0 @@ - - - - - - -Constant Field Values - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents - - - - - - -
-spacewar.*
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
spacewar.spacewar.Ship
-static final intBULLET_SPEED10
-static final intCLOCKWISE1
-static final intCOUNTERCLOCKWISE-1
-static final doubleDEFAULT_ACCELERATION0.4d
-static final doubleDEFAULT_ANGULAR_VELOCITY0.2d
-static final intMAX_DAMAGE100
-static final intSTOP0
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/Condition.html b/ajdoc/testdata/spacewar/doc/coordination/Condition.html deleted file mode 100644 index 11a17148c..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/Condition.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - - -Condition - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Interface Condition

-
-
-
public interface Condition
- -

- - Interface for pre-conditions that are passed to guardedEntry methods of - Coordinator. - Conditions should be passed as anonymous classes that simply implement - the checkit method. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleancheckit() - -
-           - This method is called automatically by Coordinator.guardedEntry(...) - and it's called everytime the coordination state changes.
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-checkit

-
-public boolean checkit()
-
-
- This method is called automatically by Coordinator.guardedEntry(...) - and it's called everytime the coordination state changes. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/CoordinationAction.html b/ajdoc/testdata/spacewar/doc/coordination/CoordinationAction.html deleted file mode 100644 index 89fdcbad9..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/CoordinationAction.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - -CoordinationAction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Interface CoordinationAction

-
-
-
public interface CoordinationAction
- -

- - Interface for coordination actions that are passed to guardedEntry methods of - Coordinator. - Coordination actions should be passed as anonymous classes that simply - implement the doit method. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddoit() - -
-           - This method is called by Coordinator.guardedEntry(...) and - Coordinator.guardedExit(...).
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-doit

-
-public void doit()
-
-
- This method is called by Coordinator.guardedEntry(...) and - Coordinator.guardedExit(...). Use it for changing coordination state - upon entering and exiting methods. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/Coordinator.html b/ajdoc/testdata/spacewar/doc/coordination/Coordinator.html deleted file mode 100644 index 8dd0a7095..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/Coordinator.html +++ /dev/null @@ -1,797 +0,0 @@ - - - - - - -Coordinator - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Aspect Coordinator

-
-java.lang.Object
-  extended bycoordination.Coordinator
-
-
-
Direct Known Subclasses:
GameSynchronization, RegistrySynchronization
-
-
-
-
public abstract class Coordinator
extends java.lang.Object
- -

- - The Coordinator class provides the basic functionality for synchronizing - and coordinating different threads upon entering and exiting methods. - It can be used in two different ways: - 1) by instantiating regular coordinator objects that are used by aspects; or - 2) by extending it (sub-classing) with coordinator aspects. -

- Method invocations are the smallest units for defining critical sections - and pre-conditions. The use of coordinators, either regular objects or aspect - instances, should always end up by invoking guardedEntry(...) in a - before weave and guardedExit(...) in an after weave for all methods that - need coordination. guardedEntry and guardedExit are the methods that - actually manage the synchronization and coordination constraints given - by their parameters and by pre-existent exclusion markers. -

- The synchronization of threads for the execution of critical section - methods in an object is done by marking those methods as self- and/or - mutually-exclusive (addSelfex, addMutex). - Just by itself, addSelfex("M") does not enforce the self-exclusion - of method M - enforcement is done by invoking guardedEntry before - M is executed. Similarly, addMutex(new String[] {"M1", "M2"}) does - not enforce the mutual exclusion between methods M1 and M2. -

- A guardedEntry on a method that has been marked as self-exclusive - ensures that the method is executed in the invoked object by only one thread - at a time. A guardedEntry on a method that has been marked has mutually- - exclusive with other methods ensures that the execution of that method - by a thread in the invoked object temporarily blocks the execution by - other threads of the methods that are in the same mutex set. -

- The coordination of threads, i.e. their explicit suspension and - resumption, is done through the use of pre-conditions and coordination - actions that are passed as parameters to guardedEntry and guardedExit - with the form of anonymous classes. -

- -

-


- -

- - - - - - - - -
Pointcut Summary
protectedsynchronizationPoint()
 

  - - - - - -
Advice Summary
before(): synchronizationPoint..
 
 Advises:spacewar.Display1.paintObjects, spacewar.Display2.paintObjects, spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Registry.dummy, spacewar.Robot.run, spacewar.SpaceObject, spacewar.SpaceObject.die
-
-
after(): synchronizationPoint..
 
 Advises:spacewar.Display1.paintObjects, spacewar.Display2.paintObjects, spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Registry.dummy, spacewar.Robot.run, spacewar.SpaceObject, spacewar.SpaceObject.die
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
Coordinator() - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddMutex(java.lang.String[] methNames) - -
-           - Takes an array of multi-part method names and marks those - methods as mutually exclusive.
- voidaddSelfex(java.lang.String methName) - -
-           - Takes a multi-part method name (eg "BoundedBuffer.put") - and marks that method as self-exclusive.
- voidguardedEntry(java.lang.String methName) - -
-           - This method is the guard for enforcing all synchronization and - coordination constraints of a given method, and it should be called - just before the method is executed.
- voidguardedEntry(java.lang.String methName, - Condition condition) - -
-           - Just like guardedEntry(String methName), but the given method is executed - only when the given condition is true.
- voidguardedEntry(java.lang.String methName, - Condition condition, - CoordinationAction action) - -
-           - Just like guardedEntry(String methName), but the given method is executed - only when the given condition is true; the additional - coordination action that is executed before the given method is - executed.
- voidguardedEntry(java.lang.String methName, - CoordinationAction action) - -
-           - Just like guardedEntry(String methName), but with an additional - coordination action that is executed before the given method is - executed.
- voidguardedEntryWithTimeout(java.lang.String methName, - Condition condition, - CoordinationAction action, - long millis) - -
-           - This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout.
- voidguardedEntryWithTimeout(java.lang.String methName, - Condition condition, - long millis) - -
-           - This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout.
- voidguardedEntryWithTimeout(java.lang.String methName, - CoordinationAction action, - long millis) - -
-           - This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout.
- voidguardedEntryWithTimeout(java.lang.String methName, - long millis) - -
-           - This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout.
- voidguardedExit(java.lang.String methName) - -
-           - This method provides the means for updating all synchronization and - coordination state after the execution of a given method, and it should be - called after the method is executed.
- voidguardedExit(java.lang.String methName, - CoordinationAction action) - -
-           - Just like guardedExit(String methName) but with an additional - coordination action that is executed.
- voidremoveMutex(java.lang.String[] methNames) - -
-           - Takes an array of multi-part method names that correspond - to an existing mutex set and remove the mutual exclusion constraint.
- voidremoveSelfex(java.lang.String methName) - -
-           - Takes a multi-part method name (e.g.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Pointcut Detail
-

synchronizationPoint()

  - - - - - - -
-Advice Detail
-

before

before(): synchronizationPoint.. -

 Advises:spacewar.Display1.paintObjects, spacewar.Display2.paintObjects, spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Registry.dummy, spacewar.Robot.run, spacewar.SpaceObject, spacewar.SpaceObject.die
- -


- -

after

after(): synchronizationPoint.. -

 Advises:spacewar.Display1.paintObjects, spacewar.Display2.paintObjects, spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Registry.dummy, spacewar.Robot.run, spacewar.SpaceObject, spacewar.SpaceObject.die
- -

- - - - - - - - - -
-Constructor Detail
- -

-Coordinator

-
-public Coordinator()
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-addSelfex

-
-public void addSelfex(java.lang.String methName)
-
-
- Takes a multi-part method name (eg "BoundedBuffer.put") - and marks that method as self-exclusive. - No checks are made with respect to the existence of the method - whose name is given. -

-

-
-
-
-
- -

-removeSelfex

-
-public void removeSelfex(java.lang.String methName)
-
-
- Takes a multi-part method name (e.g. "BoundedBuffer.put") - and removes that method from the list of self-exclusive methods. -

-

-
-
-
-
- -

-addMutex

-
-public void addMutex(java.lang.String[] methNames)
-
-
- Takes an array of multi-part method names and marks those - methods as mutually exclusive. - No checks are made with respect to the existence of the methods - whose names are given. -

-

-
-
-
-
- -

-removeMutex

-
-public void removeMutex(java.lang.String[] methNames)
-
-
- Takes an array of multi-part method names that correspond - to an existing mutex set and remove the mutual exclusion constraint. - If the given mutex set does not exist, removeMutex does nothing. -

-

-
-
-
-
- -

-guardedEntry

-
-public void guardedEntry(java.lang.String methName)
-
-
- This method is the guard for enforcing all synchronization and - coordination constraints of a given method, and it should be called - just before the method is executed. - In this form, only the method name is given. The only constraints - checked are the exclusion constraints. - If the method was previousely marked as selfex (through addSelfex), - guardedEntry ensures that the method is executed only when no other - thread is executing it. - If the method was previousely marked as being in one or more mutex - sets, guardedEntry ensures that the method is executed only when no other - thread is executing any of the methods with which the give method is - mutexed. -

-

-
-
-
-
- -

-guardedEntry

-
-public void guardedEntry(java.lang.String methName,
-                         Condition condition)
-
-
- Just like guardedEntry(String methName), but the given method is executed - only when the given condition is true. - guardedEntry is the guard for enforcing all synchronization and - coordination constraints of a given method, and it should be called - just before the method is executed. - In this form, the method name is given along with a condition. - The constraints checked are the exclusion constraints and whether - the given condition is true. - If the method was previousely marked as selfex (through addSelfex), - guardedEntry ensures that the method is executed only when no other - thread is executing it. - If the method was previousely marked as being in one or more mutex - sets, guardedEntry ensures that the method is executed only when no other - thread is executing any of the methods with which the give method is - mutexed. - If the condition is false, guardedEntry suspends the current thread. - That thread remains suspended until the condition becomes true, in - which case all constraints are rechecked before the method is executed. - When all exclusion constraints are checked and the given condition is - true, the given method is executed. -

-

-
-
-
-
- -

-guardedEntry

-
-public void guardedEntry(java.lang.String methName,
-                         CoordinationAction action)
-
-
- Just like guardedEntry(String methName), but with an additional - coordination action that is executed before the given method is - executed. - guardedEntry is the guard for enforcing all synchronization and - coordination constraints of a given method, and it should be called - just before the method is executed. - In this form, the method name is given along with a coordination action. - The only constraints checked are the exclusion constraints. - If the method was previousely marked as selfex (through addSelfex), - guardedEntry ensures that the method is executed only when no other - thread is executing it. - If the method was previousely marked as being in one or more mutex - sets, guardedEntry ensures that the method is executed only when no other - thread is executing any of the methods with which the give method is - mutexed. - The given coordination action is executed just before the given method - is executed. -

-

-
-
-
-
- -

-guardedEntry

-
-public void guardedEntry(java.lang.String methName,
-                         Condition condition,
-                         CoordinationAction action)
-
-
- Just like guardedEntry(String methName), but the given method is executed - only when the given condition is true; the additional - coordination action that is executed before the given method is - executed. - guardedEntry is the guard for enforcing all synchronization and - coordination constraints of a given method, and it should be called - just before the method is executed. - In this form, the method name is given along with a condition and - a coordination action. - The constraints checked are the exclusion constraints and whether the - given condition is true. - If the method was previousely marked as selfex (through addSelfex), - guardedEntry ensures that the method is executed only when no other - thread is executing it. - If the method was previousely marked as being in one or more mutex - sets, guardedEntry ensures that the method is executed only when no other - thread is executing any of the methods with which the give method is - mutexed. - If the condition is false, guardedEntry suspends the current thread. - That thread remains suspended until the condition becomes true, in - which case all constraints are rechecked before the method is executed. - When all exclusion constraints are checked and the given condition is - true, the given method is executed. - The given coordination action is executed just before the given method - is executed. -

-

-
-
-
-
- -

-guardedEntryWithTimeout

-
-public void guardedEntryWithTimeout(java.lang.String methName,
-                                    long millis)
-                             throws TimeoutException
-
-
- This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout. -

-

- -
Throws: -
TimeoutException
-
-
-
- -

-guardedEntryWithTimeout

-
-public void guardedEntryWithTimeout(java.lang.String methName,
-                                    Condition condition,
-                                    long millis)
-                             throws TimeoutException
-
-
- This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout. -

-

- -
Throws: -
TimeoutException
-
-
-
- -

-guardedEntryWithTimeout

-
-public void guardedEntryWithTimeout(java.lang.String methName,
-                                    CoordinationAction action,
-                                    long millis)
-                             throws TimeoutException
-
-
- This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout. -

-

- -
Throws: -
TimeoutException
-
-
-
- -

-guardedEntryWithTimeout

-
-public void guardedEntryWithTimeout(java.lang.String methName,
-                                    Condition condition,
-                                    CoordinationAction action,
-                                    long millis)
-                             throws TimeoutException
-
-
- This method is similar to guardedEntry, but it takes - an additional parameter - the milliseconds after which any suspension - will abort with a timeout. -

-

- -
Throws: -
TimeoutException
-
-
-
- -

-guardedExit

-
-public void guardedExit(java.lang.String methName)
-
-
- This method provides the means for updating all synchronization and - coordination state after the execution of a given method, and it should be - called after the method is executed. - In this form, only the method name is given. - The synchronization state for self- and mutual-exclusion is - automatically upadted. -

-

-
-
-
-
- -

-guardedExit

-
-public void guardedExit(java.lang.String methName,
-                        CoordinationAction action)
-
-
- Just like guardedExit(String methName) but with an additional - coordination action that is executed. - guardedExit provides the means for updating all synchronization and - coordination state after the execution of a given method, and it should be - called after the method is executed. - In this form, the method name is given along with a coordination action. - The synchronization state for self- and mutual-exclusion is - automatically upadted. - The given coordination action is executed. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/Exclusion.html b/ajdoc/testdata/spacewar/doc/coordination/Exclusion.html deleted file mode 100644 index fb2b2a4cc..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/Exclusion.html +++ /dev/null @@ -1,282 +0,0 @@ - - - - - - -Exclusion - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Interface Exclusion

-
-
All Known Implementing Classes:
Mutex, Selfex
-
-
-
-
interface Exclusion
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidenterExclusion(java.lang.String methodName) - -
-          
- voidexitExclusion(java.lang.String methodName) - -
-          
- voidprintNames() - -
-          
- booleantestExclusion(java.lang.String methodName) - -
-          
-  -

- - - - - - - - - - - - - - -
-Method Detail
- -

-testExclusion

-
-public boolean testExclusion(java.lang.String methodName)
-
-
-

-

-
-
-
-
- -

-enterExclusion

-
-public void enterExclusion(java.lang.String methodName)
-
-
-

-

-
-
-
-
- -

-exitExclusion

-
-public void exitExclusion(java.lang.String methodName)
-
-
-

-

-
-
-
-
- -

-printNames

-
-public void printNames()
-
-
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/Method.html b/ajdoc/testdata/spacewar/doc/coordination/Method.html deleted file mode 100644 index 8ed9da7ab..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/Method.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -Method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Class Method

-
-java.lang.Object
-  extended bycoordination.Method
-
-
-
-
class Method
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  java.util.Vectorexes - -
-          
-(package private)  java.lang.Stringname - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Method(java.lang.String n) - -
-          
-  - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidaddExclusion(Exclusion ex) - -
-          
-(package private)  voidremoveExclusion(Exclusion ex) - -
-          
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-name

-
-java.lang.String name
-
-
-

-

-
-
-
- -

-exes

-
-java.util.Vector exes
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Method

-
-Method(java.lang.String n)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-addExclusion

-
-void addExclusion(Exclusion ex)
-
-
-

-

-
-
-
-
- -

-removeExclusion

-
-void removeExclusion(Exclusion ex)
-
-
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/MethodState.html b/ajdoc/testdata/spacewar/doc/coordination/MethodState.html deleted file mode 100644 index 324788f53..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/MethodState.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - - -MethodState - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Class MethodState

-
-java.lang.Object
-  extended bycoordination.MethodState
-
-
-
-
class MethodState
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-(package private)  java.util.Vectorthreads - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)MethodState() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidenterInThread(java.lang.Thread t) - -
-          
-(package private)  voidexitInThread(java.lang.Thread t) - -
-          
-(package private)  booleanhasOtherThreadThan(java.lang.Thread t) - -
-          
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-threads

-
-java.util.Vector threads
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-MethodState

-
-MethodState()
-
-
- - - - - - - - -
-Method Detail
- -

-enterInThread

-
-void enterInThread(java.lang.Thread t)
-
-
-

-

-
-
-
-
- -

-exitInThread

-
-void exitInThread(java.lang.Thread t)
-
-
-

-

-
-
-
-
- -

-hasOtherThreadThan

-
-boolean hasOtherThreadThan(java.lang.Thread t)
-
-
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/Mutex.html b/ajdoc/testdata/spacewar/doc/coordination/Mutex.html deleted file mode 100644 index aca1f71b7..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/Mutex.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - -Mutex - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Class Mutex

-
-java.lang.Object
-  extended bycoordination.Mutex
-
-
-
All Implemented Interfaces:
Exclusion
-
-
-
-
class Mutex
extends java.lang.Object
implements Exclusion
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  java.lang.String[]methodNames - -
-          
-(package private)  MethodState[]methodStates - -
-          
-(package private)  java.lang.StringprettyName - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Mutex(java.lang.String[] _methodNames) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidenterExclusion(java.lang.String _methodName) - -
-          
- voidexitExclusion(java.lang.String _methodName) - -
-          
- voidprintNames() - -
-          
- booleantestExclusion(java.lang.String _methodName) - -
-          
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-methodNames

-
-java.lang.String[] methodNames
-
-
-

-

-
-
-
- -

-methodStates

-
-MethodState[] methodStates
-
-
-

-

-
-
-
- -

-prettyName

-
-java.lang.String prettyName
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Mutex

-
-Mutex(java.lang.String[] _methodNames)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-testExclusion

-
-public boolean testExclusion(java.lang.String _methodName)
-
-
-

-

-
Specified by:
testExclusion in interface Exclusion
-
-
-
-
-
-
- -

-enterExclusion

-
-public void enterExclusion(java.lang.String _methodName)
-
-
-

-

-
Specified by:
enterExclusion in interface Exclusion
-
-
-
-
-
-
- -

-exitExclusion

-
-public void exitExclusion(java.lang.String _methodName)
-
-
-

-

-
Specified by:
exitExclusion in interface Exclusion
-
-
-
-
-
-
- -

-printNames

-
-public void printNames()
-
-
-

-

-
Specified by:
printNames in interface Exclusion
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/Selfex.html b/ajdoc/testdata/spacewar/doc/coordination/Selfex.html deleted file mode 100644 index 5e09bb6e8..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/Selfex.html +++ /dev/null @@ -1,411 +0,0 @@ - - - - - - -Selfex - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Class Selfex

-
-java.lang.Object
-  extended bycoordination.Selfex
-
-
-
All Implemented Interfaces:
Exclusion
-
-
-
-
class Selfex
extends java.lang.Object
implements Exclusion
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  intcount - -
-          
-(package private)  java.lang.StringmethodName - -
-          
-(package private)  java.lang.Threadthread - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Selfex(java.lang.String _methodName) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidenterExclusion(java.lang.String _methodName) - -
-          
- voidexitExclusion(java.lang.String _methodName) - -
-          
- voidprintNames() - -
-          
- booleantestExclusion(java.lang.String _methodName) - -
-          
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-methodName

-
-java.lang.String methodName
-
-
-

-

-
-
-
- -

-thread

-
-java.lang.Thread thread
-
-
-

-

-
-
-
- -

-count

-
-int count
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Selfex

-
-Selfex(java.lang.String _methodName)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-testExclusion

-
-public boolean testExclusion(java.lang.String _methodName)
-
-
-

-

-
Specified by:
testExclusion in interface Exclusion
-
-
-
-
-
-
- -

-enterExclusion

-
-public void enterExclusion(java.lang.String _methodName)
-
-
-

-

-
Specified by:
enterExclusion in interface Exclusion
-
-
-
-
-
-
- -

-exitExclusion

-
-public void exitExclusion(java.lang.String _methodName)
-
-
-

-

-
Specified by:
exitExclusion in interface Exclusion
-
-
-
-
-
-
- -

-printNames

-
-public void printNames()
-
-
-

-

-
Specified by:
printNames in interface Exclusion
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/TimeoutException.html b/ajdoc/testdata/spacewar/doc/coordination/TimeoutException.html deleted file mode 100644 index 9cc93e7ff..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/TimeoutException.html +++ /dev/null @@ -1,284 +0,0 @@ - - - - - - -TimeoutException - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -coordination -
-Class TimeoutException

-
-java.lang.Object
-  extended byjava.lang.Throwable
-      extended byjava.lang.Exception
-          extended bycoordination.TimeoutException
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public class TimeoutException
extends java.lang.Exception
- -

- -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Field Summary
-(package private)  longtime - -
-          
- - - - - - - -
Fields inherited from class java.lang.Exception
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)TimeoutException(long _time) - -
-          
-  - - - - - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-time

-
-long time
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-TimeoutException

-
-TimeoutException(long _time)
-
-
-

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/package-frame.html b/ajdoc/testdata/spacewar/doc/coordination/package-frame.html deleted file mode 100644 index 3b2752a15..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/package-frame.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -coordination - - - - - - - - - - - -coordination - - - - -
-Interfaces  - -
-Condition -
-CoordinationAction -
-Exclusion
- - - - - - -
-Classes  - -
-Coordinator -
-Method -
-MethodState -
-Mutex -
-Selfex
- - - - - - -
-Exceptions  - -
-TimeoutException
- - - - diff --git a/ajdoc/testdata/spacewar/doc/coordination/package-summary.html b/ajdoc/testdata/spacewar/doc/coordination/package-summary.html deleted file mode 100644 index a1d3ffd30..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/package-summary.html +++ /dev/null @@ -1 +0,0 @@ -coordination

Package coordination

Interface Summary
Condition Interface for pre-conditions that are passed to guardedEntry methods of Coordinator.
CoordinationAction Interface for coordination actions that are passed to guardedEntry methods of Coordinator.
Exclusion
 

Class Summary
Coordinator The Coordinator class provides the basic functionality for synchronizing and coordinating different threads upon entering and exiting methods.
Method
MethodState
Mutex
Selfex
 

Exception Summary
TimeoutException
 



\ No newline at end of file diff --git a/ajdoc/testdata/spacewar/doc/coordination/package-tree.html b/ajdoc/testdata/spacewar/doc/coordination/package-tree.html deleted file mode 100644 index 3c51367e6..000000000 --- a/ajdoc/testdata/spacewar/doc/coordination/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -coordination Class Hierarchy - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package coordination -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/deprecated-list.html b/ajdoc/testdata/spacewar/doc/deprecated-list.html deleted file mode 100644 index ee96282eb..000000000 --- a/ajdoc/testdata/spacewar/doc/deprecated-list.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -Deprecated List - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/help-doc.html b/ajdoc/testdata/spacewar/doc/help-doc.html deleted file mode 100644 index 9ec0b1d1e..000000000 --- a/ajdoc/testdata/spacewar/doc/help-doc.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - -API Help - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. -
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/index-all.html b/ajdoc/testdata/spacewar/doc/index-all.html deleted file mode 100644 index c11713e05..000000000 --- a/ajdoc/testdata/spacewar/doc/index-all.html +++ /dev/null @@ -1 +0,0 @@ -Index
A B C D E F G H I K L M N O P Q R S T U W

A

accelerate(double, double) - Method in class spacewar.SpaceObject
actionPerformed(ActionEvent) - Method in class spacewar.SWFrame
addExclusion(Exclusion) - Method in class coordination.Method
addMutex(String[]) - Method in class coordination.Coordinator
Takes an array of multi-part method names and marks those methods as mutually exclusive.
addRobot() - Method in class spacewar.Game
add a robot to the game.
addSelfex(String) - Method in class coordination.Coordinator
Takes a multi-part method name (eg "BoundedBuffer.put") and marks that method as self-exclusive.

B

BULLET_SPEED - Static variable in class spacewar.Ship
Bullet - class spacewar.Bullet.
Bullet(Game, double, double, double, double) - Constructor for class spacewar.Bullet
bounce(Ship, Ship) - Static method in class spacewar.Ship

C

CLOCKWISE - Static variable in class spacewar.Ship
COUNTERCLOCKWISE - Static variable in class spacewar.Ship
Condition - interface coordination.Condition.
Interface for pre-conditions that are passed to guardedEntry methods of Coordinator.
CoordinationAction - interface coordination.CoordinationAction.
Interface for coordination actions that are passed to guardedEntry methods of Coordinator.
Coordinator - class coordination.Coordinator.
The Coordinator class provides the basic functionality for synchronizing and coordinating different threads upon entering and exiting methods.
Coordinator() - Constructor for class coordination.Coordinator
checkit() - Method in interface coordination.Condition
This method is called automatically by Coordinator.guardedEntry(...) and it's called everytime the coordination state changes.
clear() - Method in class spacewar.InfoWin
clockTick() - Method in class spacewar.Bullet
clockTick() - Method in class spacewar.Game
clockTick() - Method in class spacewar.Registry
clockTick() - Method in class spacewar.Ship
clockTick() - Method in class spacewar.SpaceObject
Move 1 unit of time's worth of distance.
coordination - package coordination
 
count - Variable in class coordination.Selfex

D

DEFAULT_ACCELERATION - Static variable in class spacewar.Ship
DEFAULT_ANGULAR_VELOCITY - Static variable in class spacewar.Ship
Debug - class spacewar.Debug.
This aspect specifies debugging information to be output to the information window.
Debug() - Constructor for class spacewar.Debug
 
Display - class spacewar.Display.
The display aspects capture the look and feel of the Game in modular pluggable units.
Display(Game) - Constructor for class spacewar.Display
Display.DisplayAspect - class spacewar.Display.DisplayAspect.
Display.DisplayAspect() - Constructor for class spacewar.Display.DisplayAspect
 
Display1 - class spacewar.Display1.
This is the standard display aspect.
Display1(Game) - Constructor for class spacewar.Display1
Display1.SpaceObjectPainting - class spacewar.Display1.SpaceObjectPainting.
Display1.SpaceObjectPainting() - Constructor for class spacewar.Display1.SpaceObjectPainting
 
Display2 - class spacewar.Display2.
This is the cheap Display aspect.
Display2(Game) - Constructor for class spacewar.Display2
Display2.SpaceObjectPainting - class spacewar.Display2.SpaceObjectPainting.
Display2.SpaceObjectPainting() - Constructor for class spacewar.Display2.SpaceObjectPainting
 
destroy() - Method in class spacewar.Robot
die() - Method in class spacewar.SpaceObject
doit() - Method in interface coordination.CoordinationAction
This method is called by Coordinator.guardedEntry(...) and Coordinator.guardedExit(...).
dummy() - Method in class spacewar.Registry

E

EnergyPacket - class spacewar.EnergyPacket.
EnergyPacket(Game, double, double, double, double, double) - Constructor for class spacewar.EnergyPacket
EnergyPacketProducer - class spacewar.EnergyPacketProducer.
EnergyPacketProducer(Game) - Constructor for class spacewar.EnergyPacketProducer
EnsureShipIsAlive - class spacewar.EnsureShipIsAlive.
This aspect makes sure that the ship is alive before performing any console commands.
EnsureShipIsAlive() - Constructor for class spacewar.EnsureShipIsAlive
 
Exclusion - interface coordination.Exclusion.
enterExclusion(String) - Method in interface coordination.Exclusion
enterExclusion(String) - Method in class coordination.Mutex
enterExclusion(String) - Method in class coordination.Selfex
enterInThread(Thread) - Method in class coordination.MethodState
error(Object) - Method in class spacewar.Game
exes - Variable in class coordination.Method
exitExclusion(String) - Method in interface coordination.Exclusion
exitExclusion(String) - Method in class coordination.Mutex
exitExclusion(String) - Method in class coordination.Selfex
exitInThread(Thread) - Method in class coordination.MethodState
expendEnergy(double) - Method in class spacewar.Ship
returns false if energy is out, otherwise decrements energy by amount and returns true

F

fire - Variable in class spacewar.KeyMapping
fire() - Method in class spacewar.Ship
create a bullet and fire it
frame - Variable in class spacewar.Display

G

Game - class spacewar.Game.
The Game class is the root of the spacewar game.
Game(String) - Constructor for class spacewar.Game
GameSynchronization - class spacewar.GameSynchronization.
This aspect ensures synchronized access to methods of the Game in the presence of several threads.
GameSynchronization() - Constructor for class spacewar.GameSynchronization
game - Variable in class spacewar.Display
getDamage() - Method in class spacewar.Ship
getDamageLevel() - Method in class spacewar.Ship
getDisplay() - Method in class spacewar.SWFrame
getEnergy() - Method in class spacewar.EnergyPacket
getEnergy() - Method in class spacewar.Ship
getEnergyLevel() - Method in class spacewar.Ship
getGame() - Method in class spacewar.Display
getGame() - Method in class spacewar.EnergyPacketProducer
getGame() - Method in class spacewar.Pilot
getGame() - Method in class spacewar.Registry
getGame() - Method in class spacewar.SWFrame
getGame() - Method in class spacewar.SpaceObject
getGame() - Method in class spacewar.Timer
getHeight() - Method in class spacewar.Game
returns the height of the screen, delegating to screenSize
getMenu() - Method in class spacewar.SWFrame
getNumber() - Method in class spacewar.Pilot
getObjects() - Method in class spacewar.Registry
getOldXPos() - Method in class spacewar.SpaceObject
getOldYPos() - Method in class spacewar.SpaceObject
getOrientation() - Method in class spacewar.Ship
getPilot() - Method in class spacewar.Ship
getPilot1() - Static method in class spacewar.Display
getPilot1() - Method in class spacewar.Game
getPilot2() - Static method in class spacewar.Display
getPilot2() - Method in class spacewar.Game
getRAcc() - Method in class spacewar.Ship
getRegistry() - Method in class spacewar.Game
getShip() - Method in class spacewar.Pilot
getShips() - Method in class spacewar.Registry
getSize() - Method in class spacewar.Bullet
getSize() - Method in class spacewar.EnergyPacket
getSize() - Method in class spacewar.Ship
getSize() - Method in class spacewar.SpaceObject
getTable() - Method in class spacewar.Registry
getWidth() - Method in class spacewar.Game
returns the width of the screen, delegating to screenSize
getXPos() - Method in class spacewar.SpaceObject
getXVel() - Method in class spacewar.SpaceObject
getYPos() - Method in class spacewar.SpaceObject
getYVel() - Method in class spacewar.SpaceObject
guardedEntry(String) - Method in class coordination.Coordinator
This method is the guard for enforcing all synchronization and coordination constraints of a given method, and it should be called just before the method is executed.
guardedEntry(String, Condition) - Method in class coordination.Coordinator
Just like guardedEntry(String methName), but the given method is executed only when the given condition is true.
guardedEntry(String, CoordinationAction) - Method in class coordination.Coordinator
Just like guardedEntry(String methName), but with an additional coordination action that is executed before the given method is executed.
guardedEntry(String, Condition, CoordinationAction) - Method in class coordination.Coordinator
Just like guardedEntry(String methName), but the given method is executed only when the given condition is true; the additional coordination action that is executed before the given method is executed.
guardedEntryWithTimeout(String, long) - Method in class coordination.Coordinator
This method is similar to guardedEntry, but it takes an additional parameter - the milliseconds after which any suspension will abort with a timeout.
guardedEntryWithTimeout(String, Condition, long) - Method in class coordination.Coordinator
This method is similar to guardedEntry, but it takes an additional parameter - the milliseconds after which any suspension will abort with a timeout.
guardedEntryWithTimeout(String, CoordinationAction, long) - Method in class coordination.Coordinator
This method is similar to guardedEntry, but it takes an additional parameter - the milliseconds after which any suspension will abort with a timeout.
guardedEntryWithTimeout(String, Condition, CoordinationAction, long) - Method in class coordination.Coordinator
This method is similar to guardedEntry, but it takes an additional parameter - the milliseconds after which any suspension will abort with a timeout.
guardedExit(String) - Method in class coordination.Coordinator
This method provides the means for updating all synchronization and coordination state after the execution of a given method, and it should be called after the method is executed.
guardedExit(String, CoordinationAction) - Method in class coordination.Coordinator
Just like guardedExit(String methName) but with an additional coordination action that is executed.

H

handleCollision(SpaceObject) - Method in class spacewar.Bullet
handleCollision(SpaceObject) - Method in class spacewar.EnergyPacket
handleCollision(SpaceObject) - Method in class spacewar.Ship
handleCollision(SpaceObject) - Method in class spacewar.SpaceObject
resolve the effects of colliding with a space object.
handleCollisions() - Method in class spacewar.Game
hasOtherThreadThan(Thread) - Method in class coordination.MethodState

I

InfoWin - class spacewar.InfoWin.
InfoWin() - Constructor for class spacewar.InfoWin
inflictDamage(double) - Method in class spacewar.Ship
increments damage by amount and handles the destruction of a ship if damage reaches MAX_DAMAGE.
isAlive() - Method in class spacewar.SpaceObject
isCollision(SpaceObject, SpaceObject) - Static method in class spacewar.Game

K

KeyMapping - class spacewar.KeyMapping.
KeyMapping(int, int, int, int) - Constructor for class spacewar.KeyMapping
keyMapping1 - Static variable in class spacewar.KeyMapping
keyMapping2 - Static variable in class spacewar.KeyMapping
keyPressed(KeyEvent) - Method in class spacewar.Player
keyReleased(KeyEvent) - Method in class spacewar.Player
keyTyped(KeyEvent) - Method in class spacewar.Player

L

left - Variable in class spacewar.KeyMapping

M

MAX_DAMAGE - Static variable in class spacewar.Ship
Method - class coordination.Method.
Method(String) - Constructor for class coordination.Method
MethodState - class coordination.MethodState.
MethodState() - Constructor for class coordination.MethodState
 
Mutex - class coordination.Mutex.
Mutex(String[]) - Constructor for class coordination.Mutex
main(String[]) - Static method in class spacewar.Game
To run the game from top level, simply say Java Game, as usual.
methodName - Variable in class coordination.Selfex
methodNames - Variable in class coordination.Mutex
methodStates - Variable in class coordination.Mutex

N

name - Variable in class coordination.Method
newPlayer(int) - Method in class spacewar.Game
returns a new player.
newRobot(int) - Method in class spacewar.Game
returns a new robot.
newShip(Pilot) - Method in class spacewar.Game
returns a new ship.
noticeSizeChange() - Method in class spacewar.Display
noticeSizeChange() - Method in class spacewar.Display1
noticeSizeChange() - Method in class spacewar.Display2

O

offGraphics - Variable in class spacewar.Display
offImage - Variable in class spacewar.Display

P

Pilot - class spacewar.Pilot.
Pilot is the abstract superclass of Player and Robot.
Pilot(Game, int) - Constructor for class spacewar.Pilot
Player - class spacewar.Player.
Player(Game, int) - Constructor for class spacewar.Player
paint(Graphics) - Method in class spacewar.Display
paintLevels(Graphics, Ship, int, int) - Static method in class spacewar.Display1
paintLevels(Graphics, Ship, int, int) - Method in class spacewar.Display2
paintObjects(Graphics) - Method in class spacewar.Display
paintObjects(Graphics) - Method in class spacewar.Display1
paintObjects(Graphics) - Method in class spacewar.Display2
paintStatus(Graphics) - Method in class spacewar.Display
paintStatus(Graphics) - Method in class spacewar.Display1
paintStatus(Graphics) - Method in class spacewar.Display2
prettyName - Variable in class coordination.Mutex
print(String) - Method in class spacewar.InfoWin
printNames() - Method in interface coordination.Exclusion
printNames() - Method in class coordination.Mutex
printNames() - Method in class coordination.Selfex
println(String) - Method in class spacewar.InfoWin
produceAPacket() - Method in class spacewar.EnergyPacketProducer

Q

quit() - Method in class spacewar.Game
leave the game.

R

Registry - class spacewar.Registry.
The Registry keeps track of all the space objects that are floating around.
Registry(Game) - Constructor for class spacewar.Registry
Registry.RegistrationProtection - class spacewar.Registry.RegistrationProtection.
Registry.RegistrationProtection() - Constructor for class spacewar.Registry.RegistrationProtection
 
RegistrySynchronization - class spacewar.RegistrySynchronization.
This aspect ensures synchronized access to methods of the Registry in the presence of several threads.
RegistrySynchronization() - Constructor for class spacewar.RegistrySynchronization
Robot - class spacewar.Robot.
Robot is an automatic pilot that now has quite a bit of intelligence.
Robot(Game, int) - Constructor for class spacewar.Robot
register(SpaceObject) - Method in class spacewar.Registry
removeExclusion(Exclusion) - Method in class coordination.Method
removeMutex(String[]) - Method in class coordination.Coordinator
Takes an array of multi-part method names that correspond to an existing mutex set and remove the mutual exclusion constraint.
removeSelfex(String) - Method in class coordination.Coordinator
Takes a multi-part method name (e.g.
repairDamage(double) - Method in class spacewar.Ship
repairs some damage
resetShips() - Method in class spacewar.Game
resurrect the ships in the game.
right - Variable in class spacewar.KeyMapping
rotate(int) - Method in class spacewar.Ship
affect rotation thrusters.
run() - Method in class spacewar.EnergyPacketProducer
run() - Method in class spacewar.Game
run() - Method in class spacewar.Robot
run() - Method in class spacewar.Timer

S

STOP - Static variable in class spacewar.Ship
SWFrame - class spacewar.SWFrame.
SWFrame(Game, Display) - Constructor for class spacewar.SWFrame
Selfex - class coordination.Selfex.
Selfex(String) - Constructor for class coordination.Selfex
Ship - class spacewar.Ship.
Ship(Game, double, double, double) - Constructor for class spacewar.Ship
SpaceObject - class spacewar.SpaceObject.
SpaceObjects are objects that float around in space.
SpaceObject(Game, double, double, double, double) - Constructor for class spacewar.SpaceObject
setAcceleration(double) - Method in class spacewar.Ship
First check to make sure we have enough energy to accelerate.
setAngularVelocity(double) - Method in class spacewar.Ship
First check to make sure we have enough energy to rotate.
setIsAlive(boolean) - Method in class spacewar.SpaceObject
setPilot(Pilot) - Method in class spacewar.Ship
setShip(Ship) - Method in class spacewar.Pilot
setXVel(double) - Method in class spacewar.SpaceObject
setYVel(double) - Method in class spacewar.SpaceObject
ship - Variable in class spacewar.Pilot
sleepForABit(int) - Method in class spacewar.Robot
spacewar - package spacewar
 
start() - Method in class spacewar.Robot

T

TimeoutException - exception coordination.TimeoutException.
TimeoutException(long) - Constructor for class coordination.TimeoutException
Timer - class spacewar.Timer.
Timer(Game) - Constructor for class spacewar.Timer
testExclusion(String) - Method in interface coordination.Exclusion
testExclusion(String) - Method in class coordination.Mutex
testExclusion(String) - Method in class coordination.Selfex
thread - Variable in class coordination.Selfex
threads - Variable in class coordination.MethodState
thrust - Variable in class spacewar.KeyMapping
thrust(boolean) - Method in class spacewar.Ship
turn on acceleration
time - Variable in class coordination.TimeoutException

U

unregister(SpaceObject) - Method in class spacewar.Registry
update(Graphics) - Method in class spacewar.Display

W

waitForABit() - Method in class spacewar.EnergyPacketProducer

A B C D E F G H I K L M N O P Q R S T U W

\ No newline at end of file diff --git a/ajdoc/testdata/spacewar/doc/index.html b/ajdoc/testdata/spacewar/doc/index.html deleted file mode 100644 index 917bdddf3..000000000 --- a/ajdoc/testdata/spacewar/doc/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - -Generated Documentation (Untitled) - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff --git a/ajdoc/testdata/spacewar/doc/overview-frame.html b/ajdoc/testdata/spacewar/doc/overview-frame.html deleted file mode 100644 index 892d024b8..000000000 --- a/ajdoc/testdata/spacewar/doc/overview-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -Overview - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-coordination -
-spacewar -
-

- -

-  - - diff --git a/ajdoc/testdata/spacewar/doc/overview-summary.html b/ajdoc/testdata/spacewar/doc/overview-summary.html deleted file mode 100644 index a98c390a1..000000000 --- a/ajdoc/testdata/spacewar/doc/overview-summary.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -Overview - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -


- - - - - - - - - - - - - -
-Packages
coordination 
spacewar 
- -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/overview-tree.html b/ajdoc/testdata/spacewar/doc/overview-tree.html deleted file mode 100644 index 92ee3fbca..000000000 --- a/ajdoc/testdata/spacewar/doc/overview-tree.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - -Class Hierarchy - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
coordination, spacewar
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/package-list b/ajdoc/testdata/spacewar/doc/package-list deleted file mode 100644 index 1a30b7044..000000000 --- a/ajdoc/testdata/spacewar/doc/package-list +++ /dev/null @@ -1,2 +0,0 @@ -coordination -spacewar diff --git a/ajdoc/testdata/spacewar/doc/packages.html b/ajdoc/testdata/spacewar/doc/packages.html deleted file mode 100644 index 7c7020cd9..000000000 --- a/ajdoc/testdata/spacewar/doc/packages.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - -
- -
- -
-
-The front page has been relocated.Please see: -
-          Frame version -
-          Non-frame version.
- - - diff --git a/ajdoc/testdata/spacewar/doc/resources/inherit.gif b/ajdoc/testdata/spacewar/doc/resources/inherit.gif deleted file mode 100644 index c814867a1..000000000 Binary files a/ajdoc/testdata/spacewar/doc/resources/inherit.gif and /dev/null differ diff --git a/ajdoc/testdata/spacewar/doc/serialized-form.html b/ajdoc/testdata/spacewar/doc/serialized-form.html deleted file mode 100644 index 1fbe6e337..000000000 --- a/ajdoc/testdata/spacewar/doc/serialized-form.html +++ /dev/null @@ -1 +0,0 @@ -Serialized Form

Serialized Form


Package coordination

Class coordination.TimeoutException extends java.lang.Exception implements Serializable

Serialized Fields

time

long time



\ No newline at end of file diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Bullet.html b/ajdoc/testdata/spacewar/doc/spacewar/Bullet.html deleted file mode 100644 index 855b30afe..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Bullet.html +++ /dev/null @@ -1,627 +0,0 @@ - - - - - - -Bullet - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Bullet

-
-java.lang.Object
-  extended byspacewar.SpaceObject
-      extended byspacewar.Bullet
-
-
-
-
class Bullet
extends SpaceObject
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
-(package private)Bullet(Game theGame, - double xP, - double yP, - double xV, - double yV) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidaccelerate(double dXVel, - double dYVel) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidclockTick() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voiddie() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetSize() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidhandleCollision(SpaceObject obj) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  booleanisAlive() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetIsAlive(boolean n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetXVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetYVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Bullet

-
-Bullet(Game theGame,
-       double xP,
-       double yP,
-       double xV,
-       double yV)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getSize

-
-int getSize()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
getSize in class SpaceObject
-
-
-
-
-
-
- -

-handleCollision

-
-void handleCollision(SpaceObject obj)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
handleCollision in class SpaceObject
-
-
-
Parameters:
obj - the space object that this object is colliding with.
-
-
-
- -

-clockTick

-
-void clockTick()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
clockTick in class SpaceObject
-
-
-
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXPos

-
-double getXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYPos

-
-double getYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldXPos

-
-double getOldXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldYPos

-
-double getOldYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXVel

-
-double getXVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYVel

-
-double getYVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setXVel

-
-void setXVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setYVel

-
-void setYVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-isAlive

-
-boolean isAlive()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setIsAlive

-
-void setIsAlive(boolean n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-accelerate

-
-void accelerate(double dXVel,
-                double dYVel)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-die

-
-void die()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Debug.html b/ajdoc/testdata/spacewar/doc/spacewar/Debug.html deleted file mode 100644 index 644872feb..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Debug.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - -Debug - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Debug

-
-java.lang.Object
-  extended byspacewar.Debug
-
-
-
-
public class Debug
extends java.lang.Object
- -

- - This aspect specifies debugging information to be output to the - information window. - - When the debug aspect is compiled in the Frame menu has several checkbox - items that can be used to control the amount of tracing information - displayed. (By default the first three are off, because they generate - so much information.) - - There are two reasons to gather all this debugging code into an aspect - like this: - - (1) It makes it easier to understand when it is all in one place. - - (2) It means that we can "plug and debug". We can enable/disable - the debugging code simply by weaving or not weaving this - aspect in. - - All in all, this is a lot better than the usual practice of writing - complex debugging code and then deleting it when the bug is found, - only to regret it a month later when a related bug surfaces. (Or even - the same bug!) - - This file also defines a class InfoWin, which it uses to display all the - debugging information. -

- -

-


- -

- - - - - - - - - - - - -
Pointcut Summary
(package private)allConstructorsCut()
 
(package private)allInitializationsCut()
 
(package private)allMethodsCut()
 

  - - - - - - - - - - - - - - - -
Advice Summary
afterReturning(SWFrame):
 
 Advises:spacewar.Display
-
-
before(): allConstructorsCut..
 
 Advises:spacewar.DisplayAspect.afterReturning, spacewar.Display, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.KeyMapping, spacewar.Ship.fire
-
-
afterReturning(): allConstructorsCut..
 
 Advises:spacewar.DisplayAspect.afterReturning, spacewar.Display, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.KeyMapping, spacewar.Ship.fire
-
-
before(): allInitializationsCut..
 
 Advises:spacewar.EnsureShipIsAlive, spacewar.GameSynchronization, spacewar.RegistrySynchronization, spacewar.Bullet, spacewar.Display, spacewar.Display1, spacewar.Display2, spacewar.EnergyPacket, spacewar.EnergyPacketProducer, spacewar.Game, spacewar.Pilot, spacewar.Player, spacewar.KeyMapping, spacewar.Registry, spacewar.Robot, spacewar.Ship, spacewar.SpaceObject, spacewar.SWFrame, spacewar.Timer
-
-
afterReturning(): allInitializationsCut..
 
 Advises:spacewar.EnsureShipIsAlive, spacewar.GameSynchronization, spacewar.RegistrySynchronization, spacewar.Bullet, spacewar.Display, spacewar.Display1, spacewar.Display2, spacewar.EnergyPacket, spacewar.EnergyPacketProducer, spacewar.Game, spacewar.Pilot, spacewar.Player, spacewar.KeyMapping, spacewar.Registry, spacewar.Robot, spacewar.Ship, spacewar.SpaceObject, spacewar.SWFrame, spacewar.Timer
-
-
before(): allMethodsCut..
 
 Advises:spacewar.Ship, spacewar.Bullet, spacewar.EnergyPacket, spacewar.Bullet.getSize, spacewar.Bullet.handleCollision, spacewar.Bullet.clockTick, spacewar.Display.getGame, spacewar.Display.getPilot1, spacewar.Display.getPilot2, spacewar.Display.noticeSizeChange, spacewar.Display.initializeOffImage, spacewar.Display.paint, spacewar.Display.update, spacewar.Display.paintObjects, spacewar.Display.paintStatus, spacewar.Display, spacewar.Display1.noticeSizeChange, spacewar.Display1.paintObjects, spacewar.Display1.paintStatus, spacewar.Display1.paintLevels, spacewar.Display1, spacewar.Display2.noticeSizeChange, spacewar.Display2.paintObjects, spacewar.Display2.paintStatus, spacewar.Display2.paintLevels, spacewar.EnergyPacket.getSize, spacewar.EnergyPacket.getEnergy, spacewar.EnergyPacket.handleCollision, spacewar.EnergyPacketProducer.getGame, spacewar.EnergyPacketProducer.run, spacewar.EnergyPacketProducer.waitForABit, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game.getRegistry, spacewar.Game.getPilot1, spacewar.Game.getPilot2, spacewar.Game.getWidth, spacewar.Game.getHeight, spacewar.Game.run, spacewar.Game.addRobot, spacewar.Game.resetShips, spacewar.Game.quit, spacewar.Game.error, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Game.isCollision, spacewar.Pilot.getGame, spacewar.Pilot.getNumber, spacewar.Pilot.getShip, spacewar.Pilot.setShip, spacewar.Player.keyPressed, spacewar.Player.keyReleased, spacewar.Player.keyTyped, spacewar.Registry.getGame, spacewar.Registry.register, spacewar.Registry.unregister, spacewar.Registry.dummy, spacewar.Registry.getObjects, spacewar.Registry.getShips, spacewar.Registry.getTable, spacewar.Registry.clockTick, spacewar.Robot.start, spacewar.Robot.destroy, spacewar.Robot.run, spacewar.Robot.sleepForABit, spacewar.Ship.getSize, spacewar.Ship.getEnergy, spacewar.Ship.getDamage, spacewar.Ship.getOrientation, spacewar.Ship.getRAcc, spacewar.Ship.getPilot, spacewar.Ship.setPilot, spacewar.Ship.getEnergyLevel, spacewar.Ship.getDamageLevel, spacewar.Ship.expendEnergy, spacewar.Ship.inflictDamage, spacewar.Ship.repairDamage, spacewar.Ship.clockTick, spacewar.Ship.setAcceleration, spacewar.Ship.setAngularVelocity, spacewar.Ship.rotate, spacewar.Ship.thrust, spacewar.Ship.fire, spacewar.Ship.handleCollision, spacewar.Ship.bounce, spacewar.SpaceObject.getGame, spacewar.SpaceObject.getXPos, spacewar.SpaceObject.getYPos, spacewar.SpaceObject.getOldXPos, spacewar.SpaceObject.getOldYPos, spacewar.SpaceObject.getXVel, spacewar.SpaceObject.getYVel, spacewar.SpaceObject.setXVel, spacewar.SpaceObject.setYVel, spacewar.SpaceObject.isAlive, spacewar.SpaceObject.setIsAlive, spacewar.SpaceObject.clockTick, spacewar.SpaceObject.accelerate, spacewar.SpaceObject.die, spacewar.SWFrame.getGame, spacewar.SWFrame.getDisplay, spacewar.SWFrame.getMenu, spacewar.SWFrame.actionPerformed, spacewar.Timer.getGame, spacewar.Timer.run
-
-
afterReturning(): allMethodsCut..
 
 Advises:spacewar.Ship, spacewar.Bullet, spacewar.EnergyPacket, spacewar.Bullet.getSize, spacewar.Bullet.handleCollision, spacewar.Bullet.clockTick, spacewar.Display.getGame, spacewar.Display.getPilot1, spacewar.Display.getPilot2, spacewar.Display.noticeSizeChange, spacewar.Display.initializeOffImage, spacewar.Display.paint, spacewar.Display.update, spacewar.Display.paintObjects, spacewar.Display.paintStatus, spacewar.Display, spacewar.Display1.noticeSizeChange, spacewar.Display1.paintObjects, spacewar.Display1.paintStatus, spacewar.Display1.paintLevels, spacewar.Display1, spacewar.Display2.noticeSizeChange, spacewar.Display2.paintObjects, spacewar.Display2.paintStatus, spacewar.Display2.paintLevels, spacewar.EnergyPacket.getSize, spacewar.EnergyPacket.getEnergy, spacewar.EnergyPacket.handleCollision, spacewar.EnergyPacketProducer.getGame, spacewar.EnergyPacketProducer.run, spacewar.EnergyPacketProducer.waitForABit, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game.getRegistry, spacewar.Game.getPilot1, spacewar.Game.getPilot2, spacewar.Game.getWidth, spacewar.Game.getHeight, spacewar.Game.run, spacewar.Game.addRobot, spacewar.Game.resetShips, spacewar.Game.quit, spacewar.Game.error, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Game.isCollision, spacewar.Pilot.getGame, spacewar.Pilot.getNumber, spacewar.Pilot.getShip, spacewar.Pilot.setShip, spacewar.Player.keyPressed, spacewar.Player.keyReleased, spacewar.Player.keyTyped, spacewar.Registry.getGame, spacewar.Registry.register, spacewar.Registry.unregister, spacewar.Registry.dummy, spacewar.Registry.getObjects, spacewar.Registry.getShips, spacewar.Registry.getTable, spacewar.Registry.clockTick, spacewar.Robot.start, spacewar.Robot.destroy, spacewar.Robot.run, spacewar.Robot.sleepForABit, spacewar.Ship.getSize, spacewar.Ship.getEnergy, spacewar.Ship.getDamage, spacewar.Ship.getOrientation, spacewar.Ship.getRAcc, spacewar.Ship.getPilot, spacewar.Ship.setPilot, spacewar.Ship.getEnergyLevel, spacewar.Ship.getDamageLevel, spacewar.Ship.expendEnergy, spacewar.Ship.inflictDamage, spacewar.Ship.repairDamage, spacewar.Ship.clockTick, spacewar.Ship.setAcceleration, spacewar.Ship.setAngularVelocity, spacewar.Ship.rotate, spacewar.Ship.thrust, spacewar.Ship.fire, spacewar.Ship.handleCollision, spacewar.Ship.bounce, spacewar.SpaceObject.getGame, spacewar.SpaceObject.getXPos, spacewar.SpaceObject.getYPos, spacewar.SpaceObject.getOldXPos, spacewar.SpaceObject.getOldYPos, spacewar.SpaceObject.getXVel, spacewar.SpaceObject.getYVel, spacewar.SpaceObject.setXVel, spacewar.SpaceObject.setYVel, spacewar.SpaceObject.isAlive, spacewar.SpaceObject.setIsAlive, spacewar.SpaceObject.clockTick, spacewar.SpaceObject.accelerate, spacewar.SpaceObject.die, spacewar.SWFrame.getGame, spacewar.SWFrame.getDisplay, spacewar.SWFrame.getMenu, spacewar.SWFrame.actionPerformed, spacewar.Timer.getGame, spacewar.Timer.run
-
-
afterReturning(Object): ..
 
 Advises:spacewar.Game.clockTick, spacewar.Registry.clockTick, spacewar.Ship.bounce, spacewar.Timer.run
-
-
afterReturning(Registry): ..
 
 Advises:spacewar.Registry.dummy, spacewar.SpaceObject, spacewar.SpaceObject.die
-
-
afterReturning():
 
 Advises:spacewar.Player.keyPressed, spacewar.Robot.run
-
-
afterReturning(Ship, SpaceObject): ..
 null
-
afterReturning(Ship, Ship): ..
 
 Advises:spacewar.Ship.bounce
-
-
before(Ship, double): ..
 
 Advises:spacewar.Ship.handleCollision, spacewar.Ship.bounce,
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
Debug() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Pointcut Detail
-

allConstructorsCut()


- -

allInitializationsCut()


- -

allMethodsCut()

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(SWFrame): -

 Advises:spacewar.Display
- -


- -

before

before(): allConstructorsCut.. -

 Advises:spacewar.DisplayAspect.afterReturning, spacewar.Display, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.KeyMapping, spacewar.Ship.fire
- -


- -

afterReturning

afterReturning(): allConstructorsCut.. -

 Advises:spacewar.DisplayAspect.afterReturning, spacewar.Display, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.KeyMapping, spacewar.Ship.fire
- -


- -

before

before(): allInitializationsCut.. -

 Advises:spacewar.EnsureShipIsAlive, spacewar.GameSynchronization, spacewar.RegistrySynchronization, spacewar.Bullet, spacewar.Display, spacewar.Display1, spacewar.Display2, spacewar.EnergyPacket, spacewar.EnergyPacketProducer, spacewar.Game, spacewar.Pilot, spacewar.Player, spacewar.KeyMapping, spacewar.Registry, spacewar.Robot, spacewar.Ship, spacewar.SpaceObject, spacewar.SWFrame, spacewar.Timer
- -


- -

afterReturning

afterReturning(): allInitializationsCut.. -

 Advises:spacewar.EnsureShipIsAlive, spacewar.GameSynchronization, spacewar.RegistrySynchronization, spacewar.Bullet, spacewar.Display, spacewar.Display1, spacewar.Display2, spacewar.EnergyPacket, spacewar.EnergyPacketProducer, spacewar.Game, spacewar.Pilot, spacewar.Player, spacewar.KeyMapping, spacewar.Registry, spacewar.Robot, spacewar.Ship, spacewar.SpaceObject, spacewar.SWFrame, spacewar.Timer
- -


- -

before

before(): allMethodsCut.. -

 Advises:spacewar.Ship, spacewar.Bullet, spacewar.EnergyPacket, spacewar.Bullet.getSize, spacewar.Bullet.handleCollision, spacewar.Bullet.clockTick, spacewar.Display.getGame, spacewar.Display.getPilot1, spacewar.Display.getPilot2, spacewar.Display.noticeSizeChange, spacewar.Display.initializeOffImage, spacewar.Display.paint, spacewar.Display.update, spacewar.Display.paintObjects, spacewar.Display.paintStatus, spacewar.Display, spacewar.Display1.noticeSizeChange, spacewar.Display1.paintObjects, spacewar.Display1.paintStatus, spacewar.Display1.paintLevels, spacewar.Display1, spacewar.Display2.noticeSizeChange, spacewar.Display2.paintObjects, spacewar.Display2.paintStatus, spacewar.Display2.paintLevels, spacewar.EnergyPacket.getSize, spacewar.EnergyPacket.getEnergy, spacewar.EnergyPacket.handleCollision, spacewar.EnergyPacketProducer.getGame, spacewar.EnergyPacketProducer.run, spacewar.EnergyPacketProducer.waitForABit, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game.getRegistry, spacewar.Game.getPilot1, spacewar.Game.getPilot2, spacewar.Game.getWidth, spacewar.Game.getHeight, spacewar.Game.run, spacewar.Game.addRobot, spacewar.Game.resetShips, spacewar.Game.quit, spacewar.Game.error, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Game.isCollision, spacewar.Pilot.getGame, spacewar.Pilot.getNumber, spacewar.Pilot.getShip, spacewar.Pilot.setShip, spacewar.Player.keyPressed, spacewar.Player.keyReleased, spacewar.Player.keyTyped, spacewar.Registry.getGame, spacewar.Registry.register, spacewar.Registry.unregister, spacewar.Registry.dummy, spacewar.Registry.getObjects, spacewar.Registry.getShips, spacewar.Registry.getTable, spacewar.Registry.clockTick, spacewar.Robot.start, spacewar.Robot.destroy, spacewar.Robot.run, spacewar.Robot.sleepForABit, spacewar.Ship.getSize, spacewar.Ship.getEnergy, spacewar.Ship.getDamage, spacewar.Ship.getOrientation, spacewar.Ship.getRAcc, spacewar.Ship.getPilot, spacewar.Ship.setPilot, spacewar.Ship.getEnergyLevel, spacewar.Ship.getDamageLevel, spacewar.Ship.expendEnergy, spacewar.Ship.inflictDamage, spacewar.Ship.repairDamage, spacewar.Ship.clockTick, spacewar.Ship.setAcceleration, spacewar.Ship.setAngularVelocity, spacewar.Ship.rotate, spacewar.Ship.thrust, spacewar.Ship.fire, spacewar.Ship.handleCollision, spacewar.Ship.bounce, spacewar.SpaceObject.getGame, spacewar.SpaceObject.getXPos, spacewar.SpaceObject.getYPos, spacewar.SpaceObject.getOldXPos, spacewar.SpaceObject.getOldYPos, spacewar.SpaceObject.getXVel, spacewar.SpaceObject.getYVel, spacewar.SpaceObject.setXVel, spacewar.SpaceObject.setYVel, spacewar.SpaceObject.isAlive, spacewar.SpaceObject.setIsAlive, spacewar.SpaceObject.clockTick, spacewar.SpaceObject.accelerate, spacewar.SpaceObject.die, spacewar.SWFrame.getGame, spacewar.SWFrame.getDisplay, spacewar.SWFrame.getMenu, spacewar.SWFrame.actionPerformed, spacewar.Timer.getGame, spacewar.Timer.run
- -


- -

afterReturning

afterReturning(): allMethodsCut.. -

 Advises:spacewar.Ship, spacewar.Bullet, spacewar.EnergyPacket, spacewar.Bullet.getSize, spacewar.Bullet.handleCollision, spacewar.Bullet.clockTick, spacewar.Display.getGame, spacewar.Display.getPilot1, spacewar.Display.getPilot2, spacewar.Display.noticeSizeChange, spacewar.Display.initializeOffImage, spacewar.Display.paint, spacewar.Display.update, spacewar.Display.paintObjects, spacewar.Display.paintStatus, spacewar.Display, spacewar.Display1.noticeSizeChange, spacewar.Display1.paintObjects, spacewar.Display1.paintStatus, spacewar.Display1.paintLevels, spacewar.Display1, spacewar.Display2.noticeSizeChange, spacewar.Display2.paintObjects, spacewar.Display2.paintStatus, spacewar.Display2.paintLevels, spacewar.EnergyPacket.getSize, spacewar.EnergyPacket.getEnergy, spacewar.EnergyPacket.handleCollision, spacewar.EnergyPacketProducer.getGame, spacewar.EnergyPacketProducer.run, spacewar.EnergyPacketProducer.waitForABit, spacewar.EnergyPacketProducer.produceAPacket, spacewar.Game.main, spacewar.Game.getRegistry, spacewar.Game.getPilot1, spacewar.Game.getPilot2, spacewar.Game.getWidth, spacewar.Game.getHeight, spacewar.Game.run, spacewar.Game.addRobot, spacewar.Game.resetShips, spacewar.Game.quit, spacewar.Game.error, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Game.newShip, spacewar.Game.clockTick, spacewar.Game.handleCollisions, spacewar.Game.isCollision, spacewar.Pilot.getGame, spacewar.Pilot.getNumber, spacewar.Pilot.getShip, spacewar.Pilot.setShip, spacewar.Player.keyPressed, spacewar.Player.keyReleased, spacewar.Player.keyTyped, spacewar.Registry.getGame, spacewar.Registry.register, spacewar.Registry.unregister, spacewar.Registry.dummy, spacewar.Registry.getObjects, spacewar.Registry.getShips, spacewar.Registry.getTable, spacewar.Registry.clockTick, spacewar.Robot.start, spacewar.Robot.destroy, spacewar.Robot.run, spacewar.Robot.sleepForABit, spacewar.Ship.getSize, spacewar.Ship.getEnergy, spacewar.Ship.getDamage, spacewar.Ship.getOrientation, spacewar.Ship.getRAcc, spacewar.Ship.getPilot, spacewar.Ship.setPilot, spacewar.Ship.getEnergyLevel, spacewar.Ship.getDamageLevel, spacewar.Ship.expendEnergy, spacewar.Ship.inflictDamage, spacewar.Ship.repairDamage, spacewar.Ship.clockTick, spacewar.Ship.setAcceleration, spacewar.Ship.setAngularVelocity, spacewar.Ship.rotate, spacewar.Ship.thrust, spacewar.Ship.fire, spacewar.Ship.handleCollision, spacewar.Ship.bounce, spacewar.SpaceObject.getGame, spacewar.SpaceObject.getXPos, spacewar.SpaceObject.getYPos, spacewar.SpaceObject.getOldXPos, spacewar.SpaceObject.getOldYPos, spacewar.SpaceObject.getXVel, spacewar.SpaceObject.getYVel, spacewar.SpaceObject.setXVel, spacewar.SpaceObject.setYVel, spacewar.SpaceObject.isAlive, spacewar.SpaceObject.setIsAlive, spacewar.SpaceObject.clockTick, spacewar.SpaceObject.accelerate, spacewar.SpaceObject.die, spacewar.SWFrame.getGame, spacewar.SWFrame.getDisplay, spacewar.SWFrame.getMenu, spacewar.SWFrame.actionPerformed, spacewar.Timer.getGame, spacewar.Timer.run
- -


- -

afterReturning

afterReturning(Object): .. -

 Advises:spacewar.Game.clockTick, spacewar.Registry.clockTick, spacewar.Ship.bounce, spacewar.Timer.run
- -


- -

afterReturning

afterReturning(Registry): .. -

 Advises:spacewar.Registry.dummy, spacewar.SpaceObject, spacewar.SpaceObject.die
- -


- -

afterReturning

afterReturning(): -

 Advises:spacewar.Player.keyPressed, spacewar.Robot.run
- -


- -

afterReturning

afterReturning(Ship, SpaceObject): .. -

null


- -

afterReturning

afterReturning(Ship, Ship): .. -

 Advises:spacewar.Ship.bounce
- -


- -

before

before(Ship, double): .. -

 Advises:spacewar.Ship.handleCollision, spacewar.Ship.bounce,
- -

- - - - - - - - - -
-Constructor Detail
- -

-Debug

-
-public Debug()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Display.DisplayAspect.html b/ajdoc/testdata/spacewar/doc/spacewar/Display.DisplayAspect.html deleted file mode 100644 index 7757aed41..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Display.DisplayAspect.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - -Display.DisplayAspect - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Display.DisplayAspect

-
-java.lang.Object
-  extended byspacewar.Display.DisplayAspect
-
-
-
Enclosing class:
Display
-
-
-
-
public static class Display.DisplayAspect
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - - - - - -
Advice Summary
afterReturning(String, Game): ..
 
 Advises:spacewar.Game.main,
-
-
afterReturning(Player):
 
 Advises:spacewar.Game.newPlayer
-
-
afterReturning(Display):
 
 Advises:spacewar.DisplayAspect.afterReturning,
-
-
afterReturning(Display): ..
 
 Advises:spacewar.SWFrame
-
-
afterReturning():
 
 Advises:spacewar.Timer.run
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
Display.DisplayAspect() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(String, Game): .. -

 Advises:spacewar.Game.main,
- -


- -

afterReturning

afterReturning(Player): -

 Advises:spacewar.Game.newPlayer
- -


- -

afterReturning

afterReturning(Display): -

 Advises:spacewar.DisplayAspect.afterReturning,
- -


- -

afterReturning

afterReturning(Display): .. -

 Advises:spacewar.SWFrame
- -


- -

afterReturning

afterReturning(): -

 Advises:spacewar.Timer.run
- -

- - - - - - - - - -
-Constructor Detail
- -

-Display.DisplayAspect

-
-public Display.DisplayAspect()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Display.html b/ajdoc/testdata/spacewar/doc/spacewar/Display.html deleted file mode 100644 index 3237e2028..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Display.html +++ /dev/null @@ -1,653 +0,0 @@ - - - - - - -Display - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Display

-
-java.lang.Object
-  extended byjava.awt.Component
-      extended byjava.awt.Canvas
-          extended byspacewar.Display
-
-
-
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
-
-
-
Direct Known Subclasses:
Display1, Display2
-
-
-
-
class Display
extends java.awt.Canvas
- -

- - The display aspects capture the look and feel of the Game in modular - pluggable units. - - The model is that constructing a concrete subclass of Display attaches that - kind of display to the game. It will Display the game as it goes along. - A game can have any number of displays. Any of the displays will accept - keyboard input. -

- -

-

-
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static classDisplay.DisplayAspect - -
-          
- - - - - - - -
Nested classes inherited from class java.awt.Canvas
java.awt.Canvas.AccessibleAWTCanvas
- - - - - - - -
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-  - - - - - - - - -
Advice Summary
afterReturning(String, Game): ..
 
 Advises:spacewar.Game.main,
-
-
afterReturning(Player):
 
 Advises:spacewar.Game.newPlayer
-
-
afterReturning(Display):
 
 Advises:spacewar.DisplayAspect.afterReturning,
-
-
afterReturning(Display): ..
 
 Advises:spacewar.SWFrame
-
-
afterReturning():
 
 Advises:spacewar.Timer.run
-
-

  - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  SWFrameframe - -
-          
-(package private)  Gamegame - -
-          
-(package private)  java.awt.GraphicsoffGraphics - -
-          
-(package private)  java.awt.ImageoffImage - -
-          
- - - - - - - -
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
- - - - - - - -
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Display(Game g) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static PilotgetPilot1() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static PilotgetPilot2() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidnoticeSizeChange() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidpaint(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintObjects(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintStatus(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidupdate(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
- - - - - - - -
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(String, Game): .. -

 Advises:spacewar.Game.main,
- -


- -

afterReturning

afterReturning(Player): -

 Advises:spacewar.Game.newPlayer
- -


- -

afterReturning

afterReturning(Display): -

 Advises:spacewar.DisplayAspect.afterReturning,
- -


- -

afterReturning

afterReturning(Display): .. -

 Advises:spacewar.SWFrame
- -


- -

afterReturning

afterReturning(): -

 Advises:spacewar.Timer.run
- -

- - - - - - -
-Field Detail
- -

-game

-
-Game game
-
-
-

-

-
-
-
- -

-frame

-
-SWFrame frame
-
-
-

-

-
-
-
- -

-offImage

-
-java.awt.Image offImage
-
-
-

-

-
-
-
- -

-offGraphics

-
-java.awt.Graphics offGraphics
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Display

-
-Display(Game g)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot1

-
-static Pilot getPilot1()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot2

-
-static Pilot getPilot2()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-noticeSizeChange

-
-void noticeSizeChange()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-paint

-
-public void paint(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-update

-
-public void update(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-paintObjects

-
-void paintObjects(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-paintStatus

-
-void paintStatus(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Display1.SpaceObjectPainting.html b/ajdoc/testdata/spacewar/doc/spacewar/Display1.SpaceObjectPainting.html deleted file mode 100644 index 7fc01e317..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Display1.SpaceObjectPainting.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -Display1.SpaceObjectPainting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Display1.SpaceObjectPainting

-
-java.lang.Object
-  extended byspacewar.Display1.SpaceObjectPainting
-
-
-
Enclosing class:
Display1
-
-
-
-
public static class Display1.SpaceObjectPainting
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - -
Advice Summary
afterReturning(Pilot, Ship): ..
 
 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
Display1.SpaceObjectPainting() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(Pilot, Ship): .. -

 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
- -

- - - - - - - - - -
-Constructor Detail
- -

-Display1.SpaceObjectPainting

-
-public Display1.SpaceObjectPainting()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Display1.html b/ajdoc/testdata/spacewar/doc/spacewar/Display1.html deleted file mode 100644 index 548f6275c..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Display1.html +++ /dev/null @@ -1,710 +0,0 @@ - - - - - - -Display1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Display1

-
-java.lang.Object
-  extended byjava.awt.Component
-      extended byjava.awt.Canvas
-          extended byspacewar.Display
-              extended byspacewar.Display1
-
-
-
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
-
-
-
-
class Display1
extends Display
- -

- - This is the standard display aspect. -

- -

-

-
-
- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-static classDisplay.DisplayAspect - -
-          
-static classDisplay1.SpaceObjectPainting - -
-          
- - - - - - - -
Nested classes inherited from class java.awt.Canvas
java.awt.Canvas.AccessibleAWTCanvas
- - - - - - - -
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-  - - - - - - - - -
Advice Summary
afterReturning(String, Game): ..
 
 Advises:spacewar.Game.main,
-
-
afterReturning(Player):
 
 Advises:spacewar.Game.newPlayer
-
-
afterReturning(Display):
 
 Advises:spacewar.DisplayAspect.afterReturning,
-
-
afterReturning(Display): ..
 
 Advises:spacewar.SWFrame
-
-
afterReturning():
 
 Advises:spacewar.Timer.run
-
-

  - - - - -
Advice Summary
afterReturning(Pilot, Ship): ..
 
 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
-
-

  - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  SWFrameframe - -
-          
-(package private)  Gamegame - -
-          
-(package private)  java.awt.GraphicsoffGraphics - -
-          
-(package private)  java.awt.ImageoffImage - -
-          
- - - - - - - -
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
- - - - - - - -
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Display1(Game game) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static PilotgetPilot1() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static PilotgetPilot2() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidnoticeSizeChange() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidpaint(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static voidpaintLevels(java.awt.Graphics g, - Ship ship, - int top, - int left) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintObjects(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintStatus(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidupdate(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
- - - - - - - -
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(String, Game): .. -

 Advises:spacewar.Game.main,
- -


- -

afterReturning

afterReturning(Player): -

 Advises:spacewar.Game.newPlayer
- -


- -

afterReturning

afterReturning(Display): -

 Advises:spacewar.DisplayAspect.afterReturning,
- -


- -

afterReturning

afterReturning(Display): .. -

 Advises:spacewar.SWFrame
- -


- -

afterReturning

afterReturning(): -

 Advises:spacewar.Timer.run
- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(Pilot, Ship): .. -

 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
- -

- - - - - - -
-Field Detail
- -

-game

-
-Game game
-
-
-

-

-
-
-
- -

-frame

-
-SWFrame frame
-
-
-

-

-
-
-
- -

-offImage

-
-java.awt.Image offImage
-
-
-

-

-
-
-
- -

-offGraphics

-
-java.awt.Graphics offGraphics
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Display1

-
-Display1(Game game)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-noticeSizeChange

-
-void noticeSizeChange()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
noticeSizeChange in class Display
-
-
-
-
-
-
- -

-paintObjects

-
-void paintObjects(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
paintObjects in class Display
-
-
-
-
-
-
- -

-paintStatus

-
-void paintStatus(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
paintStatus in class Display
-
-
-
-
-
-
- -

-paintLevels

-
-static void paintLevels(java.awt.Graphics g,
-                        Ship ship,
-                        int top,
-                        int left)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot1

-
-static Pilot getPilot1()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot2

-
-static Pilot getPilot2()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-paint

-
-public void paint(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-update

-
-public void update(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Display2.SpaceObjectPainting.html b/ajdoc/testdata/spacewar/doc/spacewar/Display2.SpaceObjectPainting.html deleted file mode 100644 index 5d32c6a58..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Display2.SpaceObjectPainting.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -Display2.SpaceObjectPainting - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Display2.SpaceObjectPainting

-
-java.lang.Object
-  extended byspacewar.Display2.SpaceObjectPainting
-
-
-
Enclosing class:
Display2
-
-
-
-
public static class Display2.SpaceObjectPainting
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - -
Advice Summary
afterReturning(Pilot, Ship): ..
 
 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
Display2.SpaceObjectPainting() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(Pilot, Ship): .. -

 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
- -

- - - - - - - - - -
-Constructor Detail
- -

-Display2.SpaceObjectPainting

-
-public Display2.SpaceObjectPainting()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Display2.html b/ajdoc/testdata/spacewar/doc/spacewar/Display2.html deleted file mode 100644 index 542e04fca..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Display2.html +++ /dev/null @@ -1,710 +0,0 @@ - - - - - - -Display2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Display2

-
-java.lang.Object
-  extended byjava.awt.Component
-      extended byjava.awt.Canvas
-          extended byspacewar.Display
-              extended byspacewar.Display2
-
-
-
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
-
-
-
-
class Display2
extends Display
- -

- - This is the cheap Display aspect. -

- -

-

-
-
- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-static classDisplay.DisplayAspect - -
-          
-static classDisplay2.SpaceObjectPainting - -
-          
- - - - - - - -
Nested classes inherited from class java.awt.Canvas
java.awt.Canvas.AccessibleAWTCanvas
- - - - - - - -
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-  - - - - - - - - -
Advice Summary
afterReturning(String, Game): ..
 
 Advises:spacewar.Game.main,
-
-
afterReturning(Player):
 
 Advises:spacewar.Game.newPlayer
-
-
afterReturning(Display):
 
 Advises:spacewar.DisplayAspect.afterReturning,
-
-
afterReturning(Display): ..
 
 Advises:spacewar.SWFrame
-
-
afterReturning():
 
 Advises:spacewar.Timer.run
-
-

  - - - - -
Advice Summary
afterReturning(Pilot, Ship): ..
 
 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
-
-

  - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  SWFrameframe - -
-          
-(package private)  Gamegame - -
-          
-(package private)  java.awt.GraphicsoffGraphics - -
-          
-(package private)  java.awt.ImageoffImage - -
-          
- - - - - - - -
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
- - - - - - - -
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Display2(Game game) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static PilotgetPilot1() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static PilotgetPilot2() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidnoticeSizeChange() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidpaint(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintLevels(java.awt.Graphics g, - Ship ship, - int top, - int left) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintObjects(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidpaintStatus(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidupdate(java.awt.Graphics g) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
- - - - - - - -
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(String, Game): .. -

 Advises:spacewar.Game.main,
- -


- -

afterReturning

afterReturning(Player): -

 Advises:spacewar.Game.newPlayer
- -


- -

afterReturning

afterReturning(Display): -

 Advises:spacewar.DisplayAspect.afterReturning,
- -


- -

afterReturning

afterReturning(Display): .. -

 Advises:spacewar.SWFrame
- -


- -

afterReturning

afterReturning(): -

 Advises:spacewar.Timer.run
- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(Pilot, Ship): .. -

 Advises:spacewar.Game.resetShips, spacewar.Game.newPlayer, spacewar.Game.newRobot, spacewar.Robot.run
- -

- - - - - - -
-Field Detail
- -

-game

-
-Game game
-
-
-

-

-
-
-
- -

-frame

-
-SWFrame frame
-
-
-

-

-
-
-
- -

-offImage

-
-java.awt.Image offImage
-
-
-

-

-
-
-
- -

-offGraphics

-
-java.awt.Graphics offGraphics
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Display2

-
-Display2(Game game)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-noticeSizeChange

-
-void noticeSizeChange()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
noticeSizeChange in class Display
-
-
-
-
-
-
- -

-paintObjects

-
-void paintObjects(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
paintObjects in class Display
-
-
-
-
-
-
- -

-paintStatus

-
-void paintStatus(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
paintStatus in class Display
-
-
-
-
-
-
- -

-paintLevels

-
-void paintLevels(java.awt.Graphics g,
-                 Ship ship,
-                 int top,
-                 int left)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot1

-
-static Pilot getPilot1()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot2

-
-static Pilot getPilot2()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-paint

-
-public void paint(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-update

-
-public void update(java.awt.Graphics g)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/EnergyPacket.html b/ajdoc/testdata/spacewar/doc/spacewar/EnergyPacket.html deleted file mode 100644 index 577088599..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/EnergyPacket.html +++ /dev/null @@ -1,653 +0,0 @@ - - - - - - -EnergyPacket - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class EnergyPacket

-
-java.lang.Object
-  extended byspacewar.SpaceObject
-      extended byspacewar.EnergyPacket
-
-
-
-
class EnergyPacket
extends SpaceObject
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
-(package private)EnergyPacket(Game theGame, - double xP, - double yP, - double xV, - double yV, - double e) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidaccelerate(double dXVel, - double dYVel) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidclockTick() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - Move 1 unit of time's worth of distance.
-(package private)  voiddie() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetEnergy() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetSize() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidhandleCollision(SpaceObject obj) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  booleanisAlive() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetIsAlive(boolean n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetXVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetYVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-EnergyPacket

-
-EnergyPacket(Game theGame,
-             double xP,
-             double yP,
-             double xV,
-             double yV,
-             double e)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getSize

-
-int getSize()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
getSize in class SpaceObject
-
-
-
-
-
-
- -

-getEnergy

-
-double getEnergy()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-handleCollision

-
-void handleCollision(SpaceObject obj)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
handleCollision in class SpaceObject
-
-
-
Parameters:
obj - the space object that this object is colliding with.
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXPos

-
-double getXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYPos

-
-double getYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldXPos

-
-double getOldXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldYPos

-
-double getOldYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXVel

-
-double getXVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYVel

-
-double getYVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setXVel

-
-void setXVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setYVel

-
-void setYVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-isAlive

-
-boolean isAlive()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setIsAlive

-
-void setIsAlive(boolean n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-clockTick

-
-void clockTick()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - Move 1 unit of time's worth of distance. I.e. increment xPos by xVel - and yPos by yVel. If we move off an edge of the screen move us back - in the opposite edge. -

-

-
-
-
-
- -

-accelerate

-
-void accelerate(double dXVel,
-                double dYVel)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-die

-
-void die()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/EnergyPacketProducer.html b/ajdoc/testdata/spacewar/doc/spacewar/EnergyPacketProducer.html deleted file mode 100644 index 419598fd5..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/EnergyPacketProducer.html +++ /dev/null @@ -1,360 +0,0 @@ - - - - - - -EnergyPacketProducer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class EnergyPacketProducer

-
-java.lang.Object
-  extended byjava.lang.Thread
-      extended byspacewar.EnergyPacketProducer
-
-
-
All Implemented Interfaces:
java.lang.Runnable
-
-
-
-
class EnergyPacketProducer
extends java.lang.Thread
- -

- -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)EnergyPacketProducer(Game theGame) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidproduceAPacket() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidrun() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidwaitForABit() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-EnergyPacketProducer

-
-EnergyPacketProducer(Game theGame)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-run

-
-public void run()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-waitForABit

-
-void waitForABit()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-produceAPacket

-
-void produceAPacket()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/EnsureShipIsAlive.html b/ajdoc/testdata/spacewar/doc/spacewar/EnsureShipIsAlive.html deleted file mode 100644 index df30697b9..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/EnsureShipIsAlive.html +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - -EnsureShipIsAlive - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect EnsureShipIsAlive

-
-java.lang.Object
-  extended byspacewar.EnsureShipIsAlive
-
-
-
-
public class EnsureShipIsAlive
extends java.lang.Object
- -

- - This aspect makes sure that the ship is alive before performing any console - commands. -

- -

-


- -

- - - - - - - -
Advice Summary
around(Ship): helmCommandsCut..
 
 Advises:spacewar.Player.keyPressed, spacewar.Player.keyReleased, spacewar.Robot.run,
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
EnsureShipIsAlive() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

around

around(Ship): helmCommandsCut.. -

 Advises:spacewar.Player.keyPressed, spacewar.Player.keyReleased, spacewar.Robot.run,
- -

- - - - - - - - - -
-Constructor Detail
- -

-EnsureShipIsAlive

-
-public EnsureShipIsAlive()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Game.html b/ajdoc/testdata/spacewar/doc/spacewar/Game.html deleted file mode 100644 index 6513d54cc..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Game.html +++ /dev/null @@ -1,687 +0,0 @@ - - - - - - -Game - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Game

-
-java.lang.Object
-  extended byjava.lang.Thread
-      extended byspacewar.Game
-
-
-
All Implemented Interfaces:
java.lang.Runnable
-
-
-
-
public class Game
extends java.lang.Thread
- -

- - The Game class is the root of the spacewar game. To start a spacewar - game, you can either call the main method, or instantiate this class - directly. - - Synchronization is done by the GameSynchronization aspect. -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-  - - - - - - - - - - -
-Constructor Summary
Game(java.lang.String mode) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidaddRobot() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - add a robot to the game.
-(package private)  voidclockTick() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voiderror(java.lang.Object o) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetHeight() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- returns the height of the screen, delegating to screenSize
-(package private)  PilotgetPilot1() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  PilotgetPilot2() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  RegistrygetRegistry() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetWidth() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- returns the width of the screen, delegating to screenSize
-(package private)  voidhandleCollisions() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static booleanisCollision(SpaceObject a, - SpaceObject b) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-static voidmain(java.lang.String[] args) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - To run the game from top level, simply say Java Game, as usual.
-(package private)  PlayernewPlayer(int number) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - returns a new player.
-(package private)  RobotnewRobot(int number) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - returns a new robot.
-(package private)  ShipnewShip(Pilot pilot) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - returns a new ship.
-(package private)  voidquit() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - leave the game.
-(package private)  voidresetShips() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - resurrect the ships in the game.
- voidrun() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Game

-
-public Game(java.lang.String mode)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-main

-
-public static void main(java.lang.String[] args)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - To run the game from top level, simply say Java Game, as usual. Passing - an argument makes the game run in demo mode. Without an argument it runs - in the normal player mode. -

-

-
-
-
-
- -

-getRegistry

-
-Registry getRegistry()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot1

-
-Pilot getPilot1()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot2

-
-Pilot getPilot2()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getWidth

-
-int getWidth()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- returns the width of the screen, delegating to screenSize -

-

-
-
-
-
- -

-getHeight

-
-int getHeight()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- returns the height of the screen, delegating to screenSize -

-

-
-
-
-
- -

-run

-
-public void run()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-addRobot

-
-void addRobot()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - add a robot to the game. This is a menu command. -

-

-
-
-
-
- -

-resetShips

-
-void resetShips()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - resurrect the ships in the game. This is a menu command. -

-

-
-
-
-
- -

-quit

-
-void quit()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - leave the game. This is a menu command. -

-

-
-
-
-
- -

-error

-
-void error(java.lang.Object o)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-newPlayer

-
-Player newPlayer(int number)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - returns a new player. With newRobot(int) and newShip(spacewar.Pilot), the only ways to make a Player, a Robot, or a Ship. - The structural invariant is that there should be no calls to - new of one of these three classes outside these three methods. -

-

-
-
-
-
- -

-newRobot

-
-Robot newRobot(int number)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - returns a new robot. With newPlayer(int) and newShip(spacewar.Pilot), the only ways to make a Player, a Robot, or a Ship. - The structural invariant is that there should be no calls to - new of one of these three classes outside these three methods. -

-

-
-
-
-
- -

-newShip

-
-Ship newShip(Pilot pilot)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - returns a new ship. With newRobot(int) and newPlayer(int), the only ways to make a Player, a Robot, or a - Ship. The structural invariant is that there should be no - calls to new of one of these three classes outside these three - methods. -

-

-
-
-
-
- -

-clockTick

-
-void clockTick()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-handleCollisions

-
-void handleCollisions()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-isCollision

-
-static boolean isCollision(SpaceObject a,
-                           SpaceObject b)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/GameSynchronization.html b/ajdoc/testdata/spacewar/doc/spacewar/GameSynchronization.html deleted file mode 100644 index 81de1d506..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/GameSynchronization.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - -GameSynchronization - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class GameSynchronization

-
-java.lang.Object
-  extended bycoordination.Coordinator
-      extended byspacewar.GameSynchronization
-
-
-
-
public class GameSynchronization
extends Coordinator
- -

- - This aspect ensures synchronized access to methods of the Game in the - presence of several threads. - - It uses the Coordinator class, from the AspectJ coordination library. - (This case is right on the borderline of being too simple to use the - coordination library, but we use it anyways to keep the similarity - with the RegistrySynchronizer.) - - It uses a per-Game coordination scheme, so there is one instance of - this class for each instance of the Game class. When this class is - constructed, it registers appropriate mutexes and selfexes using - the behavior inherited from Coordinator. - - The coordination constraints for the Game are simple. We just need to - make sure that newShip and handleCollisions are mutually exclusive. That - ensures that they we can't destroy a ship that has just been replaced. -

- -

-


- -

- - - - - - - - -
Pointcut Summary
protectedsynchronizationPoint()
 

  - - - - - - - - - - - - - -
-Constructor Summary
GameSynchronization() - -
-          
-  - - - - - - - - - - -
Methods inherited from class coordination.Coordinator
addMutex, addSelfex, guardedEntry, guardedEntry, guardedEntry, guardedEntry, guardedEntryWithTimeout, guardedEntryWithTimeout, guardedEntryWithTimeout, guardedEntryWithTimeout, guardedExit, guardedExit, removeMutex, removeSelfex
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Pointcut Detail
-

synchronizationPoint()

- - - - - - - - - -
-Constructor Detail
- -

-GameSynchronization

-
-public GameSynchronization()
-
-
-

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/InfoWin.html b/ajdoc/testdata/spacewar/doc/spacewar/InfoWin.html deleted file mode 100644 index d68b46a6f..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/InfoWin.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - -InfoWin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class InfoWin

-
-java.lang.Object
-  extended byspacewar.InfoWin
-
-
-
-
class InfoWin
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
-(package private)InfoWin() - -
-          
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidclear() - -
-          
-(package private)  voidprint(java.lang.String line) - -
-          
-(package private)  voidprintln(java.lang.String line) - -
-          
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-InfoWin

-
-InfoWin()
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-clear

-
-void clear()
-
-
-

-

-
-
-
-
- -

-println

-
-void println(java.lang.String line)
-
-
-

-

-
-
-
-
- -

-print

-
-void print(java.lang.String line)
-
-
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/KeyMapping.html b/ajdoc/testdata/spacewar/doc/spacewar/KeyMapping.html deleted file mode 100644 index fb941109b..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/KeyMapping.html +++ /dev/null @@ -1,365 +0,0 @@ - - - - - - -KeyMapping - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class KeyMapping

-
-java.lang.Object
-  extended byspacewar.KeyMapping
-
-
-
-
class KeyMapping
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private)  intfire - -
-          
-(package private) static KeyMappingkeyMapping1 - -
-          
-(package private) static KeyMappingkeyMapping2 - -
-          
-(package private)  intleft - -
-          
-(package private)  intright - -
-          
-(package private)  intthrust - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)KeyMapping(int k_left, - int k_right, - int k_thrust, - int k_fire) - -
-          
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-keyMapping1

-
-static final KeyMapping keyMapping1
-
-
-

-

-
-
-
- -

-keyMapping2

-
-static final KeyMapping keyMapping2
-
-
-

-

-
-
-
- -

-left

-
-int left
-
-
-

-

-
-
-
- -

-right

-
-int right
-
-
-

-

-
-
-
- -

-thrust

-
-int thrust
-
-
-

-

-
-
-
- -

-fire

-
-int fire
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-KeyMapping

-
-KeyMapping(int k_left,
-           int k_right,
-           int k_thrust,
-           int k_fire)
-
-
-

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Pilot.html b/ajdoc/testdata/spacewar/doc/spacewar/Pilot.html deleted file mode 100644 index 141cc4fab..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Pilot.html +++ /dev/null @@ -1,370 +0,0 @@ - - - - - - -Pilot - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Pilot

-
-java.lang.Object
-  extended byspacewar.Pilot
-
-
-
Direct Known Subclasses:
Player, Robot
-
-
-
-
abstract class Pilot
extends java.lang.Object
- -

- - Pilot is the abstract superclass of Player and Robot. -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Shipship - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Pilot(Game g, - int n) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetNumber() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  ShipgetShip() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetShip(Ship s) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ship

-
-protected Ship ship
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Pilot

-
-Pilot(Game g,
-      int n)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getNumber

-
-int getNumber()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getShip

-
-Ship getShip()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setShip

-
-void setShip(Ship s)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Player.html b/ajdoc/testdata/spacewar/doc/spacewar/Player.html deleted file mode 100644 index aac1d01dc..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Player.html +++ /dev/null @@ -1,448 +0,0 @@ - - - - - - -Player - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Player

-
-java.lang.Object
-  extended byspacewar.Pilot
-      extended byspacewar.Player
-
-
-
All Implemented Interfaces:
java.util.EventListener, java.awt.event.KeyListener
-
-
-
-
class Player
extends Pilot
implements java.awt.event.KeyListener
- -

- -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Shipship - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Player(Game theGame, - int number) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetNumber() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  ShipgetShip() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidkeyPressed(java.awt.event.KeyEvent e) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidkeyReleased(java.awt.event.KeyEvent e) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidkeyTyped(java.awt.event.KeyEvent e) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetShip(Ship s) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ship

-
-protected Ship ship
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Player

-
-Player(Game theGame,
-       int number)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-keyPressed

-
-public void keyPressed(java.awt.event.KeyEvent e)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
keyPressed in interface java.awt.event.KeyListener
-
-
-
-
-
-
- -

-keyReleased

-
-public void keyReleased(java.awt.event.KeyEvent e)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
keyReleased in interface java.awt.event.KeyListener
-
-
-
-
-
-
- -

-keyTyped

-
-public void keyTyped(java.awt.event.KeyEvent e)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
keyTyped in interface java.awt.event.KeyListener
-
-
-
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getNumber

-
-int getNumber()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getShip

-
-Ship getShip()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setShip

-
-void setShip(Ship s)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Registry.RegistrationProtection.html b/ajdoc/testdata/spacewar/doc/spacewar/Registry.RegistrationProtection.html deleted file mode 100644 index c6dfe8be0..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Registry.RegistrationProtection.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -Registry.RegistrationProtection - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Registry.RegistrationProtection

-
-java.lang.Object
-  extended byspacewar.Registry.RegistrationProtection
-
-
-
Enclosing class:
Registry
-
-
-
-
public static class Registry.RegistrationProtection
extends java.lang.Object
- -

- -

- -

-


- -

- - - - - - - -
Advice Summary
afterReturning(): ..
 
 Advises:spacewar.Registry.dummy,
-
-

  - - - - - - - - - - - - - -
-Constructor Summary
Registry.RegistrationProtection() - -
-           
-  - - - - - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(): .. -

 Advises:spacewar.Registry.dummy,
- -

- - - - - - - - - -
-Constructor Detail
- -

-Registry.RegistrationProtection

-
-public Registry.RegistrationProtection()
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Registry.html b/ajdoc/testdata/spacewar/doc/spacewar/Registry.html deleted file mode 100644 index 5f718c7d6..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Registry.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - - -Registry - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Aspect Registry

-
-java.lang.Object
-  extended byspacewar.Registry
-
-
-
-
class Registry
extends java.lang.Object
- -

- - The Registry keeps track of all the space objects that are floating around. - It basically supports register, unregister and contents type operations. - - The synchronization is done by the RegistrySynchronization aspect. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static classRegistry.RegistrationProtection - -
-          
-  - - - - -
Advice Summary
afterReturning(): ..
 
 Advises:spacewar.Registry.dummy,
-
-

  - - - - - - - - - - - - - - -
-Constructor Summary
-(package private)Registry(Game theGame) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidclockTick() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voiddummy() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  SpaceObject[]getObjects() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  Ship[]getShips() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  java.util.HashtablegetTable() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidregister(SpaceObject object) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidunregister(SpaceObject object) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Advice Detail
-

afterReturning

afterReturning(): .. -

 Advises:spacewar.Registry.dummy,
- -

- - - - - - - - - -
-Constructor Detail
- -

-Registry

-
-Registry(Game theGame)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-register

-
-void register(SpaceObject object)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-unregister

-
-void unregister(SpaceObject object)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-dummy

-
-void dummy()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getObjects

-
-SpaceObject[] getObjects()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getShips

-
-Ship[] getShips()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getTable

-
-java.util.Hashtable getTable()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-clockTick

-
-void clockTick()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/RegistrySynchronization.html b/ajdoc/testdata/spacewar/doc/spacewar/RegistrySynchronization.html deleted file mode 100644 index 395ea7278..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/RegistrySynchronization.html +++ /dev/null @@ -1,262 +0,0 @@ - - - - - - -RegistrySynchronization - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class RegistrySynchronization

-
-java.lang.Object
-  extended bycoordination.Coordinator
-      extended byspacewar.RegistrySynchronization
-
-
-
-
public class RegistrySynchronization
extends Coordinator
- -

- - This aspect ensures synchronized access to methods of the Registry in - the presence of several threads. - - It uses the Coordinator class, from the AspectJ coordination library. - - It uses a per-Registry coordination scheme, so there is one instance of - this class for each instance of the Registry class. When this class is - constructed, it registers appropriate mutexes and selfexes using the - behavior inherited from Coordinator. - - The mutating methods (register and unregister) should be self-exclusive. - Each reader method should be mutually exclusive with the mutating - methods. But the readers can run concurrently. -

- -

-


- -

- - - - - - - - -
Pointcut Summary
protectedsynchronizationPoint()
 

  - - - - - - - - - - - - - -
-Constructor Summary
RegistrySynchronization() - -
-          
-  - - - - - - - - - - -
Methods inherited from class coordination.Coordinator
addMutex, addSelfex, guardedEntry, guardedEntry, guardedEntry, guardedEntry, guardedEntryWithTimeout, guardedEntryWithTimeout, guardedEntryWithTimeout, guardedEntryWithTimeout, guardedExit, guardedExit, removeMutex, removeSelfex
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Pointcut Detail
-

synchronizationPoint()

- - - - - - - - - -
-Constructor Detail
- -

-RegistrySynchronization

-
-public RegistrySynchronization()
-
-
-

-

- - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Robot.html b/ajdoc/testdata/spacewar/doc/spacewar/Robot.html deleted file mode 100644 index f8369f0de..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Robot.html +++ /dev/null @@ -1,476 +0,0 @@ - - - - - - -Robot - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Robot

-
-java.lang.Object
-  extended byspacewar.Pilot
-      extended byspacewar.Robot
-
-
-
All Implemented Interfaces:
java.lang.Runnable
-
-
-
-
class Robot
extends Pilot
implements java.lang.Runnable
- -

- - Robot is an automatic pilot that now has quite a bit of intelligence. - So, beware ! -

- -

-


- -

- - - - - - - - - - - - - - -
-Field Summary
-protected  Shipship - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Robot(Game theGame, - int number) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voiddestroy() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetNumber() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  ShipgetShip() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidrun() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetShip(Ship s) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsleepForABit(int time) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidstart() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-ship

-
-protected Ship ship
-
-
-

-

-
-
- - - - - - - - -
-Constructor Detail
- -

-Robot

-
-Robot(Game theGame,
-      int number)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-start

-
-void start()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
-
-
-
- -

-destroy

-
-void destroy()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
-
-
-
- -

-run

-
-public void run()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
run in interface java.lang.Runnable
-
-
-
-
-
-
- -

-sleepForABit

-
-void sleepForABit(int time)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getNumber

-
-int getNumber()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getShip

-
-Ship getShip()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setShip

-
-void setShip(Ship s)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/SWFrame.html b/ajdoc/testdata/spacewar/doc/spacewar/SWFrame.html deleted file mode 100644 index ad4d898af..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/SWFrame.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - -SWFrame - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class SWFrame

-
-java.lang.Object
-  extended byjava.awt.Component
-      extended byjava.awt.Container
-          extended byjava.awt.Window
-              extended byjava.awt.Frame
-                  extended byspacewar.SWFrame
-
-
-
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
-
-
-
-
class SWFrame
extends java.awt.Frame
implements java.awt.event.ActionListener
- -

- -

- -

-

-
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
- - - - - - - -
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
- - - - - - - -
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
- - - - - - - -
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-  - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
- - - - - - - -
Fields inherited from class java.awt.Window
- - - - - - - -
Fields inherited from class java.awt.Container
- - - - - - - -
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
- - - - - - - -
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)SWFrame(Game theGame, - Display d) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidactionPerformed(java.awt.event.ActionEvent e) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  DisplaygetDisplay() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  java.awt.MenugetMenu() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.awt.Frame
addNotify, finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
- - - - - - - -
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
- - - - - - - -
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
- - - - - - - -
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
- - - - - - - -
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SWFrame

-
-SWFrame(Game theGame,
-        Display d)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
-
-
-
- -

-getDisplay

-
-Display getDisplay()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
-
-
-
- -

-getMenu

-
-java.awt.Menu getMenu()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
-
-
-
- -

-actionPerformed

-
-public void actionPerformed(java.awt.event.ActionEvent e)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
actionPerformed in interface java.awt.event.ActionListener
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Ship.html b/ajdoc/testdata/spacewar/doc/spacewar/Ship.html deleted file mode 100644 index 7b68cf9cb..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Ship.html +++ /dev/null @@ -1,1198 +0,0 @@ - - - - - - -Ship - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Ship

-
-java.lang.Object
-  extended byspacewar.SpaceObject
-      extended byspacewar.Ship
-
-
-
-
class Ship
extends SpaceObject
- -

- -

- -

-


- -

- - - - - - - - -
Pointcut Summary
(package private)helmCommandsCut(Ship)
 

  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-(package private) static intBULLET_SPEED - -
-          
-(package private) static intCLOCKWISE - -
-          
-(package private) static intCOUNTERCLOCKWISE - -
-          
-(package private) static doubleDEFAULT_ACCELERATION - -
-          
-(package private) static doubleDEFAULT_ANGULAR_VELOCITY - -
-          
-(package private) static intMAX_DAMAGE - -
-          
-(package private) static intSTOP - -
-          
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Ship(Game theGame, - double xPos, - double yPos, - double orientation) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidaccelerate(double dXVel, - double dYVel) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) static voidbounce(Ship shipA, - Ship shipB) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning,
-
- voidclockTick() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voiddie() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  booleanexpendEnergy(double amount) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- returns false if energy is out, otherwise decrements energy by amount - and returns true
-(package private)  voidfire() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- create a bullet and fire it
-(package private)  doublegetDamage() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  floatgetDamageLevel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetEnergy() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  floatgetEnergyLevel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOrientation() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  PilotgetPilot() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetRAcc() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  intgetSize() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidhandleCollision(SpaceObject obj) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidinflictDamage(double amount) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- increments damage by amount and handles the destruction of a ship if - damage reaches MAX_DAMAGE.
-(package private)  booleanisAlive() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidrepairDamage(double amount) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- repairs some damage
-(package private)  voidrotate(int direction) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- affect rotation thrusters.
-(package private)  voidsetAcceleration(double acc) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - First check to make sure we have enough energy to accelerate.
-(package private)  voidsetAngularVelocity(double omega) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - First check to make sure we have enough energy to rotate.
-(package private)  voidsetIsAlive(boolean n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetPilot(Pilot p) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetXVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetYVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidthrust(boolean onOff) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- turn on acceleration
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- -

  - - - - - - -
-Pointcut Detail
-

helmCommandsCut(Ship)

- - - - - - -
-Field Detail
- -

-MAX_DAMAGE

-
-static final int MAX_DAMAGE
-
-
-

-

-
See Also:
Constant Field Values
-
-
- -

-BULLET_SPEED

-
-static final int BULLET_SPEED
-
-
-

-

-
See Also:
Constant Field Values
-
-
- -

-CLOCKWISE

-
-static final int CLOCKWISE
-
-
-

-

-
See Also:
Constant Field Values
-
-
- -

-STOP

-
-static final int STOP
-
-
-

-

-
See Also:
Constant Field Values
-
-
- -

-COUNTERCLOCKWISE

-
-static final int COUNTERCLOCKWISE
-
-
-

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_ANGULAR_VELOCITY

-
-static final double DEFAULT_ANGULAR_VELOCITY
-
-
-

-

-
See Also:
Constant Field Values
-
-
- -

-DEFAULT_ACCELERATION

-
-static final double DEFAULT_ACCELERATION
-
-
-

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-Ship

-
-Ship(Game theGame,
-     double xPos,
-     double yPos,
-     double orientation)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getSize

-
-int getSize()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
getSize in class SpaceObject
-
-
-
-
-
-
- -

-getEnergy

-
-double getEnergy()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getDamage

-
-double getDamage()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOrientation

-
-double getOrientation()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getRAcc

-
-double getRAcc()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getPilot

-
-Pilot getPilot()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setPilot

-
-void setPilot(Pilot p)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getEnergyLevel

-
-float getEnergyLevel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getDamageLevel

-
-float getDamageLevel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-expendEnergy

-
-boolean expendEnergy(double amount)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- returns false if energy is out, otherwise decrements energy by amount - and returns true -

-

-
-
-
-
- -

-inflictDamage

-
-void inflictDamage(double amount)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- increments damage by amount and handles the destruction of a ship if - damage reaches MAX_DAMAGE. -

-

-
-
-
-
- -

-repairDamage

-
-void repairDamage(double amount)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- repairs some damage -

-

-
-
-
-
- -

-clockTick

-
-public void clockTick()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Overrides:
clockTick in class SpaceObject
-
-
-
-
-
-
- -

-setAcceleration

-
-void setAcceleration(double acc)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - First check to make sure we have enough energy to accelerate. If - we do, then go ahead and do so. Acceleration is in the direction - we are already facing (i.e. orientation). -

-

-
-
-
-
- -

-setAngularVelocity

-
-void setAngularVelocity(double omega)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - First check to make sure we have enough energy to rotate. If - we do, then go ahead and do so. -

-

-
-
-
-
- -

-rotate

-
-void rotate(int direction)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- affect rotation thrusters. Direction can be one of CLOCKWISE, COUNTERCLOCKWISE, or zero for turning off - the thrusters. -

-

-
-
-
-
- -

-thrust

-
-void thrust(boolean onOff)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- turn on acceleration -

-

-
-
-
-
- -

-fire

-
-void fire()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- create a bullet and fire it -

-

-
-
-
-
- -

-handleCollision

-
-void handleCollision(SpaceObject obj)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
Specified by:
handleCollision in class SpaceObject
-
-
-
Parameters:
obj - the space object that this object is colliding with.
-
-
-
- -

-bounce

-
-static void bounce(Ship shipA,
-                   Ship shipB)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning,
- -

-

-
-
-
-
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXPos

-
-double getXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYPos

-
-double getYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldXPos

-
-double getOldXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldYPos

-
-double getOldYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXVel

-
-double getXVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYVel

-
-double getYVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setXVel

-
-void setXVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setYVel

-
-void setYVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-isAlive

-
-boolean isAlive()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setIsAlive

-
-void setIsAlive(boolean n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-accelerate

-
-void accelerate(double dXVel,
-                double dYVel)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-die

-
-void die()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/SpaceObject.html b/ajdoc/testdata/spacewar/doc/spacewar/SpaceObject.html deleted file mode 100644 index 3859be498..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/SpaceObject.html +++ /dev/null @@ -1,630 +0,0 @@ - - - - - - -SpaceObject - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class SpaceObject

-
-java.lang.Object
-  extended byspacewar.SpaceObject
-
-
-
Direct Known Subclasses:
Bullet, EnergyPacket, Ship
-
-
-
-
abstract class SpaceObject
extends java.lang.Object
- -

- - SpaceObjects are objects that float around in space. They support the - minimal SpaceObject protocol, having to do with position, velocity, - size and liveness. They are constructed with game, position, velocity - and size. When constructed, a spaceobject adds itself to the registry. - - When it dies, a spaceobject removes itself from the registry. But note - that it doesn't decide when to die, subclasses do that. - - The display aspects actually draw the space object on the screen and say - how much space it takes up there. -

- -

-


- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
-(package private)SpaceObject(Game theGame, - double xP, - double yP, - double xV, - double yV) - -
-          
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  voidaccelerate(double dXVel, - double dYVel) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidclockTick() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - Move 1 unit of time's worth of distance.
-(package private)  voiddie() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetOldYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) abstract  intgetSize() - -
-          
-(package private)  doublegetXPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetXVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYPos() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  doublegetYVel() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private) abstract  voidhandleCollision(SpaceObject obj) - -
-           resolve the effects of colliding with a space object.
-(package private)  booleanisAlive() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetIsAlive(boolean n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetXVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
-(package private)  voidsetYVel(double n) - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-SpaceObject

-
-SpaceObject(Game theGame,
-            double xP,
-            double yP,
-            double xV,
-            double yV)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXPos

-
-double getXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYPos

-
-double getYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldXPos

-
-double getOldXPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getOldYPos

-
-double getOldYPos()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getXVel

-
-double getXVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getYVel

-
-double getYVel()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setXVel

-
-void setXVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setYVel

-
-void setYVel(double n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-isAlive

-
-boolean isAlive()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-setIsAlive

-
-void setIsAlive(boolean n)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-clockTick

-
-void clockTick()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- - Move 1 unit of time's worth of distance. I.e. increment xPos by xVel - and yPos by yVel. If we move off an edge of the screen move us back - in the opposite edge. -

-

-
-
-
-
- -

-accelerate

-
-void accelerate(double dXVel,
-                double dYVel)
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-die

-
-void die()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-getSize

-
-abstract int getSize()
-
-
-

-

-
-
-
-
- -

-handleCollision

-
-abstract void handleCollision(SpaceObject obj)
-
-
resolve the effects of colliding with a space object. -

-

-
Parameters:
obj - the space object that this object is colliding with.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/Timer.html b/ajdoc/testdata/spacewar/doc/spacewar/Timer.html deleted file mode 100644 index 1c0a70d63..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/Timer.html +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - -Timer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -spacewar -
-Class Timer

-
-java.lang.Object
-  extended byjava.lang.Thread
-      extended byspacewar.Timer
-
-
-
All Implemented Interfaces:
java.lang.Runnable
-
-
-
-
class Timer
extends java.lang.Thread
- -

- -

- -

-


- -

- - - - - - - - - - -
-Field Summary
- - - - - - - -
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-  - - - - - - - - - - - -
-Constructor Summary
-(package private)Timer(Game theGame) - -
-          
-  - - - - - - - - - - - - - - - -
-Method Summary
-(package private)  GamegetGame() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- voidrun() - -
-          
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
-
- - - - - - - -
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - - - - -
-Constructor Detail
- -

-Timer

-
-Timer(Game theGame)
-
-
-

-

- - - - - - - - -
-Method Detail
- -

-getGame

-
-Game getGame()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
-
- -

-run

-
-public void run()
-
-
 Advised by:spacewar.Debug.before, spacewar.Debug.afterReturning
- -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/package-frame.html b/ajdoc/testdata/spacewar/doc/spacewar/package-frame.html deleted file mode 100644 index 90897079f..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/package-frame.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - -spacewar - - - - - - - - - - - -spacewar - - - - -
-Classes  - -
-Bullet -
-Debug -
-Display -
-Display.DisplayAspect -
-Display1 -
-Display1.SpaceObjectPainting -
-Display2 -
-Display2.SpaceObjectPainting -
-EnergyPacket -
-EnergyPacketProducer -
-EnsureShipIsAlive -
-Game -
-GameSynchronization -
-InfoWin -
-KeyMapping -
-Pilot -
-Player -
-Registry -
-Registry.RegistrationProtection -
-RegistrySynchronization -
-Robot -
-Ship -
-SpaceObject -
-SWFrame -
-Timer
- - - - diff --git a/ajdoc/testdata/spacewar/doc/spacewar/package-summary.html b/ajdoc/testdata/spacewar/doc/spacewar/package-summary.html deleted file mode 100644 index 6a4dc6002..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/package-summary.html +++ /dev/null @@ -1 +0,0 @@ -spacewar

Package spacewar

Class Summary
Bullet
Debug This aspect specifies debugging information to be output to the information window.
Display The display aspects capture the look and feel of the Game in modular pluggable units.
Display.DisplayAspect
Display1 This is the standard display aspect.
Display1.SpaceObjectPainting
Display2 This is the cheap Display aspect.
Display2.SpaceObjectPainting
EnergyPacket
EnergyPacketProducer
EnsureShipIsAlive This aspect makes sure that the ship is alive before performing any console commands.
Game The Game class is the root of the spacewar game.
GameSynchronization This aspect ensures synchronized access to methods of the Game in the presence of several threads.
InfoWin
KeyMapping
Pilot Pilot is the abstract superclass of Player and Robot.
Player
Registry The Registry keeps track of all the space objects that are floating around.
Registry.RegistrationProtection
RegistrySynchronization This aspect ensures synchronized access to methods of the Registry in the presence of several threads.
Robot Robot is an automatic pilot that now has quite a bit of intelligence.
Ship
SpaceObject SpaceObjects are objects that float around in space.
SWFrame
Timer
 



\ No newline at end of file diff --git a/ajdoc/testdata/spacewar/doc/spacewar/package-tree.html b/ajdoc/testdata/spacewar/doc/spacewar/package-tree.html deleted file mode 100644 index 1ad39f60b..000000000 --- a/ajdoc/testdata/spacewar/doc/spacewar/package-tree.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -spacewar Class Hierarchy - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package spacewar -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/ajdoc/testdata/spacewar/doc/stylesheet.css b/ajdoc/testdata/spacewar/doc/stylesheet.css deleted file mode 100644 index 14c3737e8..000000000 --- a/ajdoc/testdata/spacewar/doc/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -