add Deleted property to IEntity
cleanup Map.GetObjectsInRange additional hashtable -> dictionary conversions generic timer impl for EffectController
This commit is contained in:
parent
4fccb0c3d3
commit
436e8f054a
7 changed files with 84 additions and 76 deletions
|
|
@ -27,6 +27,7 @@ namespace Server
|
|||
Serial Serial{ get; }
|
||||
Point3D Location{ get; }
|
||||
Map Map{ get; }
|
||||
bool Deleted { get; }
|
||||
|
||||
void Delete();
|
||||
void ProcessDelta();
|
||||
|
|
@ -58,12 +59,14 @@ namespace Server
|
|||
private Serial m_Serial;
|
||||
private Point3D m_Location;
|
||||
private Map m_Map;
|
||||
private bool m_Deleted;
|
||||
|
||||
public Entity( Serial serial, Point3D loc, Map map )
|
||||
{
|
||||
m_Serial = serial;
|
||||
m_Location = loc;
|
||||
m_Map = map;
|
||||
m_Deleted = false;
|
||||
}
|
||||
|
||||
public Serial Serial {
|
||||
|
|
@ -102,6 +105,12 @@ namespace Server
|
|||
}
|
||||
}
|
||||
|
||||
public bool Deleted {
|
||||
get {
|
||||
return m_Deleted;
|
||||
}
|
||||
}
|
||||
|
||||
public void Delete()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue