Exemplo n.º 1
0
        /// <summary>
        /// Add an entity to render list
        /// </summary>
        /// <param name="ent">The entity to add</param>
        public void addEntity(iEntity ent)
        {
            entityList.Add(ent);

            if (ent is ICameraSubject)
            {
                cameraMan.RequestCamera(ent);
                cameraMan.AddCameras();
            }
        }