be.madoka.aardbei.sokoban
Class DimensionChangeEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--java.beans.PropertyChangeEvent
              |
              +--be.madoka.aardbei.sokoban.DimensionChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class DimensionChangeEvent
extends java.beans.PropertyChangeEvent

Represents a change of Dimension.

Author:
Tim Van Wassenhove
See Also:
Serialized Form

Constructor Summary
DimensionChangeEvent(Logic logic, Dimension newDimension)
          Default constructor.
 
Method Summary
 Dimension getDimension()
          Returns the new Dimension.
 
Methods inherited from class java.beans.PropertyChangeEvent
getNewValue, getOldValue, getPropagationId, getPropertyName, setPropagationId
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimensionChangeEvent

public DimensionChangeEvent(Logic logic,
                            Dimension newDimension)
Default constructor.

Parameters:
logic - the logic
newDimension - the new Dimension
Method Detail

getDimension

public Dimension getDimension()
Returns the new Dimension.

Returns:
a Dimension specifying the new Dimension