universe.client.gui
Class SystemScreenObjectHandler
java.lang.Object
|
+--universe.client.gui.ScreenObjectHandler
|
+--universe.client.gui.SystemScreenObjectHandler
- All Implemented Interfaces:
- TurnProcessedListener
- public class SystemScreenObjectHandler
- extends ScreenObjectHandler
- implements TurnProcessedListener
SystemScreenObjectHandler.java
Created: Thu Jun 10 14:38:29 1999
Modified: Tue Jun 6, 2001 (Bjorn Sandberg)
Handles the display of a system in the map.
- Version:
- $Id: SystemScreenObjectHandler.java,v 1.1 2003/04/03 00:20:54 sstarkey Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
player
private CivID player
playerSystemRelationshipCache
private java.util.Hashtable playerSystemRelationshipCache
HALO_BASE_RADIUS
private int HALO_BASE_RADIUS
HALO_STROKE_WIDTH
private float HALO_STROKE_WIDTH
DEPTH_FACTOR
private float DEPTH_FACTOR
SystemScreenObjectHandler
SystemScreenObjectHandler(CivID player)
drawHalo
private void drawHalo(java.awt.Graphics g,
int x,
int y,
float z,
RelationshipType relationshipType,
java.awt.Color aColor)
- This method draws a halo at the given location (where
a star will be drawn). The characteristics of the
halo indicate strategic information about the star.
handleObject
public void handleObject(java.awt.Graphics g,
int screensize,
MapDisplayOptions displayOptions,
DisplayMap mapInfo,
java.lang.Object obj)
- Draw
- Specified by:
handleObject
in class ScreenObjectHandler
turnProcessed
public void turnProcessed()
- Specified by:
turnProcessed
in interface TurnProcessedListener
playerSystemRelationship
private RelationshipType playerSystemRelationship(SystemID sid)
clearRelationshipCache
private void clearRelationshipCache()
Copyright © 2001 Universe Dev Team All Rights Reserved.