ru.sstu.renju.core
Class Move

java.lang.Object
  extended by ru.sstu.renju.core.Move

public class Move
extends Object

Move class represents single move in Renju game.

Since:
Renju 1.0
Author:
denis_murashev

Constructor Summary
Move(int x, int y)
          Initializes move.
 
Method Summary
 int getX()
           
 int getY()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Move

public Move(int x,
            int y)
Initializes move.

Parameters:
x - x coordinate of cell
y - y coordinate of cell
Method Detail

getX

public int getX()
Returns:
the x

getY

public int getY()
Returns:
the y

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.