TotalFreedomMod/src/me/StevenLawson/TotalFreedomMod/TFM_UserInfo.java

53 lines
837 B
Java
Raw Normal View History

2011-10-01 17:59:46 +00:00
package me.StevenLawson.TotalFreedomMod;
2011-10-02 04:23:22 +00:00
public class TFM_UserInfo
2011-10-01 17:59:46 +00:00
{
private boolean user_frozen = false;
private int msg_count = 0;
private int bd_count = 0;
2011-10-02 04:18:52 +00:00
2011-10-02 04:23:22 +00:00
public TFM_UserInfo()
2011-10-01 17:59:46 +00:00
{
}
public boolean isFrozen()
{
return this.user_frozen;
}
2011-10-02 04:18:52 +00:00
2011-10-01 17:59:46 +00:00
public void setFrozen(boolean fr)
{
this.user_frozen = fr;
}
public void resetMsgCount()
{
this.msg_count = 0;
}
2011-10-02 04:18:52 +00:00
2011-10-01 17:59:46 +00:00
public void incrementMsgCount()
{
this.msg_count++;
}
2011-10-02 04:18:52 +00:00
2011-10-01 17:59:46 +00:00
public int getMsgCount()
{
return this.msg_count;
}
2011-10-02 04:18:52 +00:00
2011-10-01 17:59:46 +00:00
public void incrementBlockDestroyCount()
{
this.bd_count++;
}
2011-10-02 04:18:52 +00:00
2011-10-01 17:59:46 +00:00
public int getBlockDestroyCount()
{
return this.bd_count;
}
2011-10-02 04:18:52 +00:00
2011-10-01 17:59:46 +00:00
public void resetBlockDestroyCount()
{
this.bd_count = 0;
}
}