|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnanomunchers.bot.NanoBotWrangler
Holds all of the Nanobots and knows what bots are associated with a given PlayerToken.
Constructor Summary | |
NanoBotWrangler()
Initializes the BotWrangler |
Method Summary | |
boolean |
addNanoBot(heurgame.PlayerToken owner,
NanoBot newBot)
Adds a nanomuncher in the name of the owner if there are no other bots of the owner's at that location. |
java.util.Vector |
getNanoBots(heurgame.PlayerToken owner)
|
void |
removeDuplicates()
If different players have any bots in the same location, this is where they are removed from play. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NanoBotWrangler()
Method Detail |
public boolean addNanoBot(heurgame.PlayerToken owner, NanoBot newBot)
owner
- of the bot in questionnewBot
- bot in question
public java.util.Vector getNanoBots(heurgame.PlayerToken owner)
owner
- of the bots
public void removeDuplicates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |