//在字典中注册entity的信息
 public void RegisterEntity(BaseGameEntity NewEntity)
 {
     EntityMap.Add(NewEntity.GetID(), NewEntity);
 }
 //从字典中移除entity
 public void RemoveEntity(BaseGameEntity pEntity)
 {
     EntityMap.Remove(pEntity.GetID());
 }