// Add an entity to the queue. public void AddEntity(Entity entity) { ThisEntityQueue.Enqueue(entity); UpdateQueue(); }