org.argosfields.model
Class Tile

java.lang.Object
  extended byorg.argosfields.model.Tile
All Implemented Interfaces:
Serializable

public class Tile
extends Object
implements Serializable

Tile.java

Version:
$Revision: 1.2 $ $Date: 2003/12/27 07:39:09 $
Author:
Xavier Cho
See Also:
Serialized Form

Field Summary
static int HEIGHT
           
static int WIDTH
           
 
Constructor Summary
Tile(int id)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getDefenseModifier()
           
 int getIconIndex()
           
 int getId()
           
 int getMapColor()
           
 int getMovementCost()
           
 String getName()
           
 int getOffenseModifier()
           
 int getTerrainFlag()
           
 Unit getUnit()
           
 int hashCode()
           
 void setUnit(Unit unit)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WIDTH

public static final int WIDTH
See Also:
Constant Field Values

HEIGHT

public static final int HEIGHT
See Also:
Constant Field Values
Constructor Detail

Tile

public Tile(int id)
Method Detail

getDefenseModifier

public int getDefenseModifier()
Returns:

getIconIndex

public int getIconIndex()
Returns:

getId

public int getId()
Returns:

getTerrainFlag

public int getTerrainFlag()
Returns:

getMovementCost

public int getMovementCost()
Returns:

getName

public String getName()
Returns:

getOffenseModifier

public int getOffenseModifier()
Returns:

getMapColor

public int getMapColor()
Returns:

getUnit

public Unit getUnit()
Returns:

setUnit

public void setUnit(Unit unit)
Parameters:
unit -

equals

public boolean equals(Object obj)
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
See Also:
Object.hashCode()

toString

public String toString()
See Also:
Object.toString()


Copyright © Gnome Korea. All Rights Reserved.