VisualPOVRAY.Frame.heartbeat C# (CSharp) Method

heartbeat() public method

public heartbeat ( float time ) : void
time float
return void
        public void heartbeat(float time)
        {
            foreach (PovObj obj in world)
            {
                obj.update(time);
            }
            List<Event> temp = new List<Event>();
            foreach (Event e in events)
            {
                if(!e.pop(time))
                {
                    temp.Add(e);
                }
            }
            this.events = temp;
            this.render();
        }