Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
kbengine committed Nov 11, 2014
1 parent c573796 commit 3f3d9d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Entity()
}
}

public virtual void destroy ()
public virtual void onDestroy ()
{
}

Expand Down
8 changes: 4 additions & 4 deletions KBEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ public void Client_onEntityLeaveWorld(Int32 eid)
else
{
entities.Remove(eid);
entity.destroy();
entity.onDestroy();
_entityIDAliasIDList.Remove(eid);
}
}
Expand Down Expand Up @@ -1663,7 +1663,7 @@ public void clearEntities(bool isall)
if(dic.Value.inWorld)
dic.Value.onLeaveWorld();

dic.Value.destroy();
dic.Value.onDestroy();
}

entities.Clear();
Expand All @@ -1676,7 +1676,7 @@ public void clearEntities(bool isall)
if(dic.Value.inWorld)
dic.Value.onLeaveWorld();

dic.Value.destroy();
dic.Value.onDestroy();
}

entities.Clear();
Expand Down Expand Up @@ -1741,7 +1741,7 @@ public void Client_onEntityDestroyed(Int32 eid)
entity.onLeaveWorld();

entities.Remove(eid);
entity.destroy();
entity.onDestroy();
}

public void Client_onUpdateBasePos(MemoryStream stream)
Expand Down

0 comments on commit 3f3d9d9

Please sign in to comment.