All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.loki3.cyber.pawn.ScannerRadar

java.lang.Object
    |
    +----com.loki3.pa.Item
            |
            +----com.loki3.cyber.pawn.UnitClass
                    |
                    +----com.loki3.cyber.pawn.Scanner
                            |
                            +----com.loki3.cyber.pawn.ScannerRadar

public class ScannerRadar
extends Scanner
A radar scanner rotates & reports on units spotted. If it detects multiple units in a single scan, it only reports the closest. Your class should implement ScannerListener and then call addScannerListener() to be notified.


Constructor Index

 o ScannerRadar()
 

Method Index

 o addScannerListener(ScannerListener)
Register an object which is notified when units are spotted.
 o getMaker()
object which can publicly create us
 o removeScannerListener(ScannerListener)
Unregister an object which is notified when units are spotted.
 o update(double)
Scan

Constructor Detail

 o ScannerRadar
public ScannerRadar()

Method Detail

 o getMaker
public static java.lang.Object getMaker()
          object which can publicly create us
 o addScannerListener
public void addScannerListener(ScannerListener listener)
          Register an object which is notified when units are spotted.
 o removeScannerListener
public void removeScannerListener(ScannerListener listener)
          Unregister an object which is notified when units are spotted.
 o update
public void update(double tick)
          Scan
Overrides:
update in class com.loki3.pa.Item

All Packages  Class Hierarchy  This Package  Previous  Next  Index