Added in some deprecated methods for backwards-compat.

This commit is contained in:
Olof Larsson 2012-04-27 20:29:41 +02:00
parent e3a7188b0d
commit 06d22549e2

View File

@ -534,6 +534,22 @@ public class Faction extends Entity implements EconomyParticipator
return this.getFlag(FFlag.EXPLOSIONS); return this.getFlag(FFlag.EXPLOSIONS);
} }
/**
* @deprecated As of release 1.7, replaced by {@link #getFlag()}
*/
public boolean noExplosionsInTerritory()
{
return ! this.getFlag(FFlag.EXPLOSIONS);
}
/**
* @deprecated As of release 1.7, replaced by {@link #getFlag()}
*/
public boolean isSafeZone()
{
return ! this.getFlag(FFlag.EXPLOSIONS);
}
//----------------------------------------------// //----------------------------------------------//
// Persistance and entity management // Persistance and entity management
//----------------------------------------------// //----------------------------------------------//