Uses of Interface
ch.sahits.game.openpatrician.model.people.ISeaPirate
-
Packages that use ISeaPirate Package Description ch.sahits.game.openpatrician.model.city.cityhall ch.sahits.game.openpatrician.model.city.cityhall.impl ch.sahits.game.openpatrician.model.event Package ch.sahits.game.openpatrician.model.eventch.sahits.game.openpatrician.model.people ch.sahits.game.openpatrician.model.people.impl -
-
Uses of ISeaPirate in ch.sahits.game.openpatrician.model.city.cityhall
Methods in ch.sahits.game.openpatrician.model.city.cityhall that return ISeaPirate Modifier and Type Method Description ISeaPirateIHuntPirate. getPirate()The pirate that should be hunted down. -
Uses of ISeaPirate in ch.sahits.game.openpatrician.model.city.cityhall.impl
Constructors in ch.sahits.game.openpatrician.model.city.cityhall.impl with parameters of type ISeaPirate Constructor Description HuntPirate(int duration, ISeaPirate pirate) -
Uses of ISeaPirate in ch.sahits.game.openpatrician.model.event
Constructors in ch.sahits.game.openpatrician.model.event with parameters of type ISeaPirate Constructor Description NewPirateEvent(ISeaPirate pirate) -
Uses of ISeaPirate in ch.sahits.game.openpatrician.model.people
Subinterfaces of ISeaPirate in ch.sahits.game.openpatrician.model.people Modifier and Type Interface Description interfaceINonFreeSeaPirateSpecial case of a pirate.Methods in ch.sahits.game.openpatrician.model.people with parameters of type ISeaPirate Modifier and Type Method Description voidIInformant. setPirateLocation(ISeaPirate pirate, ICity city)Set the location of the pirate. -
Uses of ISeaPirate in ch.sahits.game.openpatrician.model.people.impl
Classes in ch.sahits.game.openpatrician.model.people.impl that implement ISeaPirate Modifier and Type Class Description classNonFreeSeaPirateImplementation of a non free pirate.classSeaPirateImplementation of the sea pirateMethods in ch.sahits.game.openpatrician.model.people.impl that return ISeaPirate Modifier and Type Method Description ISeaPirateSeaPiratesState. findSuccessfulPirate()Find a successful free pirateMethods in ch.sahits.game.openpatrician.model.people.impl that return types with arguments of type ISeaPirate Modifier and Type Method Description java.util.Set<ISeaPirate>SeaPiratesState. getAllPirates()Retrieve all pirates.java.util.Set<ISeaPirate>SeaPiratesState. getFreePirates()Retrieve immutable list of free pirates.java.util.List<ISeaPirate>SeaPiratesState. getNonFreePirates(IPlayer player)Retrieve immutable list of non free pirates for the playerMethods in ch.sahits.game.openpatrician.model.people.impl with parameters of type ISeaPirate Modifier and Type Method Description voidSeaPiratesState. add(ISeaPirate pirate)Add a pirate.voidSeaPiratesState. remove(ISeaPirate pirate)Remove a pirate from the list.voidSeaPiratesState. replace(INonFreeSeaPirate pirate, ISeaPirate replaceWith)A non free priate becomes a free pirate.voidInformantState. setPirateLocation(ISeaPirate pirate, ICity city)
-