/// <summary>
        /// Calls the scene graph to spawn an entity
        /// Initializes the entity
        /// </summary>
        /// <param name="entity">Entity to be spawned</param>
        /// <param name="position">Position to spawn the entity</param>
        public void SpawnEntity(IEntity entity)
        {
            entity.isActive = true;
            sceneGraph.SpawnEntity(entity.UID);
            //If entity is collidable subscribe entity to collision events
            ICollisionListener listener = entity as ICollisionListener;

            if (listener != null)
            {
                collisionManager.RegisterListener(listener);
            }
        }