org.deken.game.map.wrapping
Class MapWrapping

java.lang.Object
  extended by org.deken.game.map.wrapping.MapWrapping
Direct Known Subclasses:
AllMapWrapping, NoMapWrapping

public abstract class MapWrapping
extends java.lang.Object

Title: MapWrapping

Description: TODO

Copyright: Copyright (c) Feb 24, 2013

Version:
1.0
Author:
Gary Deken

Field Summary
protected  int xHigh
           
protected  int xLow
           
protected  int yHigh
           
protected  int yLow
           
 
Constructor Summary
MapWrapping(int xLow, int xHigh, int yLow, int yHigh)
          The X and Y's low and high defines the edges of the map, where a sprite will wrap to the other side.
 
Method Summary
abstract  Sprite doWrapping(Sprite sprite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xLow

protected int xLow

xHigh

protected int xHigh

yLow

protected int yLow

yHigh

protected int yHigh
Constructor Detail

MapWrapping

public MapWrapping(int xLow,
                   int xHigh,
                   int yLow,
                   int yHigh)
The X and Y's low and high defines the edges of the map, where a sprite will wrap to the other side.

Parameters:
xLow -
xHigh -
yLow -
yHigh -
Method Detail

doWrapping

public abstract Sprite doWrapping(Sprite sprite)