Class ObjectInfo

java.lang.Object
  |
  +--ObjectInfo
Direct Known Subclasses:
BallInfo, FlagInfo, GoalInfo, LineInfo, PlayerInfo

class ObjectInfo
extends java.lang.Object


Field Summary
protected  java.awt.Color defaultColor
           
protected  java.awt.Color drawColor
           
 float m_dirChange
           
 float m_direction
           
 float m_distance
           
 float m_distChange
           
 java.lang.String m_type
           
protected  boolean selected
           
 int x
           
 int y
           
 
Constructor Summary
ObjectInfo(java.lang.String type)
           
 
Method Summary
 java.awt.Color getDrawColor()
           
 boolean isSelected()
           
 void select(int mouse_x, int mouse_y)
           
 void setDrawColor(java.awt.Color new_color)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

m_type

public java.lang.String m_type

m_distance

public float m_distance

m_direction

public float m_direction

m_distChange

public float m_distChange

m_dirChange

public float m_dirChange

x

public int x

y

public int y

selected

protected boolean selected

defaultColor

protected java.awt.Color defaultColor

drawColor

protected java.awt.Color drawColor
Constructor Detail

ObjectInfo

public ObjectInfo(java.lang.String type)
Method Detail

select

public void select(int mouse_x,
                   int mouse_y)

isSelected

public boolean isSelected()

getDrawColor

public java.awt.Color getDrawColor()

setDrawColor

public void setDrawColor(java.awt.Color new_color)