lots of little stuff, but mostly bank optimization, due to the weirdness of the calls

This commit is contained in:
mark 2007-01-19 22:10:11 +00:00
parent 566de1c2cf
commit f95101c201
29 changed files with 214 additions and 282 deletions

View file

@ -27,9 +27,12 @@ namespace Server
Serial Serial{ get; }
Point3D Location{ get; }
Map Map{ get; }
void Delete();
void ProcessDelta();
}
public class Entity : IEntity, IComparable, IComparable<Entity>, IComparable<IEntity>
public class Entity : IEntity, IComparable<Entity>
{
public int CompareTo( IEntity other )
{
@ -63,52 +66,48 @@ namespace Server
m_Map = map;
}
public Serial Serial
{
get
{
public Serial Serial {
get {
return m_Serial;
}
}
public Point3D Location
{
get
{
public Point3D Location {
get {
return m_Location;
}
}
public int X
{
get
{
public int X {
get {
return m_Location.X;
}
}
public int Y
{
get
{
public int Y {
get {
return m_Location.Y;
}
}
public int Z
{
get
{
public int Z {
get {
return m_Location.Z;
}
}
public Map Map
{
get
{
public Map Map {
get {
return m_Map;
}
}
public void Delete()
{
}
public void ProcessDelta()
{
}
}
}