コード例 #1
0
        public void RemoveEntity(AbstractEntity entity)
        {
            AbstractEntity ent = EntitiesInTheWorld.Find(a => a.BehaviourID == entity.BehaviourID);

            lock (EntitiesInTheWorld)
                EntitiesInTheWorld.Remove(ent);
            ent.Dispose();
        }