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 Position
getNext()
Region
getNextRegion()
Position
getPosition()
void
landOn(Troop t)
void
onClick()
void
setNextRegion(Region r)
void
setPosition(int row, int col)
void
setUp()
-
Constructor Details
-
EmptyRegion
public EmptyRegion()
-
-
Method Details
-
getNext
-
landOn
-
getNextRegion
- Specified by:
getNextRegion
in interfaceRegion
-
setNextRegion
- Specified by:
setNextRegion
in interfaceRegion
-
setPosition
public void setPosition(int row, int col)- Specified by:
setPosition
in interfaceRegion
-
getPosition
- Specified by:
getPosition
in interfaceRegion
-
setUp
public void setUp() -
onClick
public void onClick()
-