dice_war
Class Node

java.lang.Object
  extended by dice_war.Node
All Implemented Interfaces:
java.io.Serializable

public class Node
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 int country
          Game-play data, which country it is.
 int number
          Game-play data, how many dices it has
 
Constructor Summary
Node(int x, int y, int index, int country, int number)
           
Node(Node n)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

country

public int country
Game-play data, which country it is. Specially, 0 means it's a hole, don't care this.


number

public int number
Game-play data, how many dices it has

Constructor Detail

Node

public Node(int x,
            int y,
            int index,
            int country,
            int number)

Node

public Node(Node n)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object