Removed abstract SetText method from EntityBase to make cleaner API.

Signed-off-by: Melanie <melanie@t-data.com>
prebuild-update
Mikko Pallari 2010-08-10 14:57:22 +03:00 committed by Melanie
parent 75f92faeb4
commit 3f942a4f74
3 changed files with 1 additions and 8 deletions

View File

@ -130,8 +130,6 @@ namespace OpenSim.Region.Framework.Scenes
{
return (EntityBase) MemberwiseClone();
}
public abstract void SetText(string text, Vector3 color, double alpha);
}
//Nested Classes

View File

@ -1360,7 +1360,7 @@ namespace OpenSim.Region.Framework.Scenes
ScheduleGroupForFullUpdate();
}
public override void SetText(string text, Vector3 color, double alpha)
public void SetText(string text, Vector3 color, double alpha)
{
Color = Color.FromArgb(0xff - (int) (alpha * 0xff),
(int) (color.X * 0xff),

View File

@ -3212,11 +3212,6 @@ namespace OpenSim.Region.Framework.Scenes
}
}
public override void SetText(string text, Vector3 color, double alpha)
{
throw new Exception("Can't set Text on avatar.");
}
/// <summary>
/// Adds a physical representation of the avatar to the Physics plugin
/// </summary>