|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PowerNode
Method Summary | |
---|---|
MapLocation |
getLocation()
Returns this power node's location. |
MapLocation[] |
neighbors()
Returns the locations of all power nodes that are connected to this power node. |
Team |
powerCoreTeam()
If this node is the power core for a team, returns that team. |
Methods inherited from interface battlecode.common.GameObject |
---|
getID, getRobotLevel, getTeam |
Method Detail |
---|
MapLocation getLocation()
MapLocation[] neighbors()
Team powerCoreTeam()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |