public void RemovePhysicalObj(PhysicalObj phy, bool sendToClient) { m_map.RemovePhysical(phy); phy.SetGame(null); if (sendToClient) { SendRemovePhysicalObj(phy); } }
public virtual void AddPhysicalTip(PhysicalObj phy, bool sendToClient) { m_map.AddPhysical(phy); phy.SetGame(this); if (sendToClient) { SendAddPhysicalTip(phy); } }