All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.loki3.cyber.pawn.ScannedList

java.lang.Object
    |
    +----com.loki3.cyber.pawn.ScannedList

public class ScannedList
extends java.lang.Object
A list of all units which have been scanned.


Method Index

 o getClosest()
Get the closest unit.
 o getClosest(String, boolean)
Get the closest unit with proper name Identity.
 o getCount()
Get the total number of units in this list.
 o getUnit(int)
Get the nth unit from the list.

Method Detail

 o getCount
public int getCount()
          Get the total number of units in this list.
 o getUnit
public ScannedUnit getUnit(int n)
          Get the nth unit from the list.
 o getClosest
public ScannedUnit getClosest(java.lang.String name,
                              boolean isa)
          Get the closest unit with proper name Identity.
Parameters:
name - null if you don't care about the name, otherwise it will check the Identity of each unit
isa - if true, returned unit will have name in its Identity if false, returned unit will not have name in its Identity
Returns:
closest unit which the proper name Identity
 o getClosest
public ScannedUnit getClosest()
          Get the closest unit.

All Packages  Class Hierarchy  This Package  Previous  Next  Index