Package model
Class EmptyRegion
java.lang.Object
model.EmptyRegion
- All Implemented Interfaces:
Region
public class EmptyRegion extends java.lang.Object implements Region
EmptyRegion is a region type that does can only be instantiated, but has no methods to that does things.
-
Constructor Summary
Constructors Constructor Description EmptyRegion() -
Method Summary
Modifier and Type Method Description PositiongetNext()RegiongetNextRegion()PositiongetPosition()voidlandOn(Troop t)voidonClick()voidsetNextRegion(Region r)voidsetPosition(int row, int col)voidsetUp()
-
Constructor Details
-
EmptyRegion
public EmptyRegion()
-
-
Method Details
-
getNext
-
landOn
-
getNextRegion
- Specified by:
getNextRegionin interfaceRegion
-
setNextRegion
- Specified by:
setNextRegionin interfaceRegion
-
setPosition
public void setPosition(int row, int col)- Specified by:
setPositionin interfaceRegion
-
getPosition
- Specified by:
getPositionin interfaceRegion
-
setUp
public void setUp() -
onClick
public void onClick()
-