A stab at implementing llSetDamage. Not persistent.

This commit is contained in:
Melanie Thielker
2009-07-15 00:10:01 +00:00
parent 750f75c514
commit fb4067c844
4 changed files with 22 additions and 2 deletions

View File

@@ -195,6 +195,8 @@ namespace OpenSim.Region.Framework.Scenes
[XmlIgnore]
private PrimFlags LocalFlags = 0;
[XmlIgnore]
private float m_damage = -1.0f;
private byte[] m_TextureAnimation;
private byte m_clickAction = 0;
private Color m_color = Color.Black;
@@ -484,6 +486,13 @@ namespace OpenSim.Region.Framework.Scenes
set { m_rezzed = value; }
}
[XmlIgnore]
public float Damage
{
get { return m_damage; }
set { m_damage = value; }
}
/// <summary>
/// The position of the entire group that this prim belongs to.
/// </summary>