be.madoka.aardbei.sokoban
Class Dimension

java.lang.Object
  |
  +--be.madoka.aardbei.sokoban.Dimension

public class Dimension
extends java.lang.Object

Represents a dimension.

Author:
Tim Van Wassenhove

Constructor Summary
Dimension(int width, int height)
          Default constructor.
 
Method Summary
 int getHeight()
          Returns the height.
 int getWidth()
          Returns the width.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dimension

public Dimension(int width,
                 int height)
Default constructor.

Parameters:
width - the width
height - the height
Method Detail

getWidth

public int getWidth()
Returns the width.

Returns:
an int specifying the width

getHeight

public int getHeight()
Returns the height.

Returns:
an int specifying the height