org.argosfields.model
Class Tile
java.lang.Object
org.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
Constructor Summary |
Tile(int id)
|
WIDTH
public static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
public static final int HEIGHT
- See Also:
- Constant Field Values
Tile
public Tile(int id)
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.