Add some JavaDoc to the transfer method.

This commit is contained in:
graywolf336 2014-02-10 12:37:57 -06:00
parent 2ecb26dc8a
commit 25a6d010ac

View File

@ -411,6 +411,15 @@ public class PrisonerManager {
} }
} }
/**
* Transfers the prisoner from one jail, or cell, to another jail, and/or cell.
*
* @param origin The jail where they are coming from.
* @param originCell The cell where they are coming from.
* @param targetJail The jail we're transferring them from.
* @param targetCell The cell we're putting them into.
* @param prisoner The prisoner data we're handling.
*/
public void transferPrisoner(Jail origin, Cell originCell, Jail targetJail, Cell targetCell, Prisoner prisoner) { public void transferPrisoner(Jail origin, Cell originCell, Jail targetJail, Cell targetCell, Prisoner prisoner) {
Player player = pl.getServer().getPlayer(prisoner.getName()); Player player = pl.getServer().getPlayer(prisoner.getName());