cad.simcad.objectserver.spec.sim
Interface Drawable2DObject

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
MyUnit, SimAccident, Structure

public interface Drawable2DObject
extends java.io.Serializable

Object that can be drawn in a 2D world

Version:
1.0
Author:
Charles-Philip Bentley

Method Summary
 int getHeight()
          Return the y height of the object
 java.awt.Color getMiniMapColor()
          Return the Color for a totally zoomed out view
 int getWidth()
          Return the x width of the object
 int getX()
          Return the X coordinate where the object should be drawn
 int getY()
          Return the Y coordinate where the object should be drawn
 

Method Detail

getX

public int getX()
Return the X coordinate where the object should be drawn


getY

public int getY()
Return the Y coordinate where the object should be drawn


getHeight

public int getHeight()
Return the y height of the object


getWidth

public int getWidth()
Return the x width of the object


getMiniMapColor

public java.awt.Color getMiniMapColor()
Return the Color for a totally zoomed out view


Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be