Package model
Class StartRegion
java.lang.Object
model.StartRegion
- All Implemented Interfaces:
Region
public class StartRegion extends java.lang.Object implements Region
StartRegion represents the region that is placed at the beginning of a path, i.e. where bought troops are supposed
to start.
-
Constructor Summary
Constructors Constructor Description StartRegion()
-
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
-
StartRegion
public StartRegion()
-
-
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()
-