Faction balance online players.

This commit is contained in:
mobius
2015-01-15 02:08:27 +00:00
parent 37b9e72fe2
commit 01bb57d197
9 changed files with 106 additions and 2 deletions

View File

@ -59,6 +59,8 @@ public class CharSelectInfoPackage
private String _htmlPrefix = null;
private int _vitalityPoints = 0;
private int _accessLevel = 0;
private boolean _isGood = false;
private boolean _isEvil = false;
private final PlayerVariables _vars;
/**
@ -103,6 +105,28 @@ public class CharSelectInfoPackage
_accessLevel = level;
}
public boolean isGood()
{
return _isGood;
}
public void setGood()
{
_isGood = true;
_isEvil = false;
}
public boolean isEvil()
{
return _isEvil;
}
public void setEvil()
{
_isGood = false;
_isEvil = true;
}
public int getClanId()
{
return _clanId;