Package org.bitsquad.warzone.player
Class RandomPlayer
java.lang.Object
org.bitsquad.warzone.player.BasePlayer
org.bitsquad.warzone.player.RandomPlayer
- All Implemented Interfaces:
PlayerStrategy
Represents the Random Player strategy
-
Field Summary
Fields inherited from class org.bitsquad.warzone.player.BasePlayer
d_availableArmyUnits, d_countriesOwned, d_currentOrder, d_orderList
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bitsquad.warzone.player.BasePlayer
addCountryOwned, clearState, getAvailableArmyUnits, getCountriesOwned, getCountryByID, getCurrentCards, getCurrentOrder, getId, getName, getOrderList, hasCard, hasCountryWithID, hasNewTerritory, isNextDeploy, nextOrder, removeCountryOwned, setAvailableArmyUnits, setCountriesOwned, setCurrentOrder, setHasNewTerritory
-
Constructor Details
-
RandomPlayer
Parameterized constructor- Parameters:
p_name
-
-
-
Method Details
-
issueOrder
public void issueOrder()Implementation of issue order
-