Modifier and Type | Method and Description |
---|---|
Diving |
getDiving() |
String |
getName() |
Pool |
getPool() |
StartRegion |
getStartRegion() |
SurroundingRegion |
getSurroundingRegion() |
World |
getWorld() |
boolean |
isComplete()
Checks if this arena is complete.
|
boolean |
isIn(World world) |
Diving |
safeGetDiving(DAC dac)
Returns the diving board if defined or throws an exception if not.
|
Pool |
safeGetPool(DAC dac)
Returns the pool if defined or throws an exception if not.
|
StartRegion |
safeGetStartRegion(DAC dac)
Returns the start region if defined or throws an exception if not.
|
SurroundingRegion |
safeGetSurroundingRegion(DAC dac)
Returns the surrounding region if defined or throws an exception if not.
|
void |
setDiving(Diving diving) |
void |
setPool(Pool pool) |
void |
setStartRegion(StartRegion region) |
void |
setSurroundingRegion(SurroundingRegion surrounding)
Sets the surrrounding region.
|
public boolean isComplete()
public Pool safeGetPool(DAC dac)
dac
- the main DAC instance.ArenaComponentUndefined
public StartRegion getStartRegion()
public StartRegion safeGetStartRegion(DAC dac)
dac
- the main DAC instance.ArenaComponentUndefined
public void setStartRegion(StartRegion region)
public Diving safeGetDiving(DAC dac)
dac
- the main DAC instance.ArenaComponentUndefined
public SurroundingRegion getSurroundingRegion()
public SurroundingRegion safeGetSurroundingRegion(DAC dac)
dac
- the main DAC instance.ArenaComponentUndefined
public void setSurroundingRegion(SurroundingRegion surrounding)
surrounding
- the new manually defined surrounding region.Copyright © 2012. All Rights Reserved.