15 lines
359 B
C#
15 lines
359 B
C#
namespace BrewMonster
|
|
{
|
|
partial class CECPlayer
|
|
|
|
{
|
|
protected int m_iMoneyCnt; // Amount of money the player has
|
|
public int GetMoneyAmount() { return m_iMoneyCnt; }
|
|
|
|
public byte GetShapeMask()
|
|
{
|
|
// restore the original data from 8~15 bit
|
|
return (byte)((m_iShape & 0xff00) >> 8);
|
|
}
|
|
}
|
|
} |