$Date$
$Revision$
-- Initialise default values.
-- (From EM_SCENE)
-- Initialise scene with a_container as main_container.
-- Initialize scene by filling container with drawables the scene consists of.
-- (From EM_SCENE)
-- Uninitialize scene.
-- This is called right before next scene is displayed.
-- Redefine this to clean up some needed things (openGl properties, images, ...)
-- (From EM_SCENE)
-- Color used to fill screen before drawing scene
-- (If set to Void the screen will not be cleared on each redraw)
-- Event loop that makes scene running
-- (From EM_SCENE)
-- Container for EM_DRAWABLE's on scene.
-- Scene that should be executed after this scene ends.
-- If next_scene = Void the program just ends.
-- (From EM_SCENE)
-- Surface where scene is drawed
-- (From EM_SCENE)
-- Is scene currently running?
-- Otherwise no events are dispatched and no animation will run right now.
-- (From EM_SCENE)
-- If a_value is True make frame counter visible,
-- else make it invisible.
-- (From EM_SCENE)
-- we have to create next scene in same thread as the SDL thread
-- this function should point to a feature were next scene is created
-- (From EM_SCENE)
-- Indicates that next scene is set and must be proceeded by
-- the main SDL Thread (syncronise both threads)
-- (From EM_SCENE)
-- Set next_scene to a_scene from an other thread
-- Make sure that start_next_scene is called by the main SDL Thread
-- (From EM_SCENE)
-- Run scene and show it on a_screen.
-- (From EM_SCENE)
-- Stop Current and advance to next_scene.
-- (From EM_SCENE)
-- Call creation procedure for next scene and start this scene immediadely
-- (From EM_SCENE)
-- Redraw Current scene.
-- Causes to clear screen and redraw main_container onto it.
-- (From EM_SCENE)
-- Animation event, allows animatable objects to perform animation
-- (i.e. moving them selves) before they get drawed.
-- As an argument the reference time in milliseconds is passed
-- up to which the animatable objects should draw them selves.
-- This event gets published right before the scene is redrawed.
-- (From EM_SCENE)
-- Let all subscribed animatable objects perform their animation.
-- (Calls go_to_time of animatable objects with current time tick)
-- (From EM_SCENE)
-- Subscribe an_animatable to be animated when Current is running.
-- (From EM_SCENE)
-- Unsubscribe an_animatable from beeing animated when Current is running.
-- (From EM_SCENE)
Scene to display EM_DRAWABLE's
Either create an object to access the main_container or create a descendant
and redefine initialize_scene where you can fill the main_container with
the contained objects.
When the scene is running, all drawable objects contained in main_container
get drawn onto screen.
The scene publishes mouse events to drawable objects it contains.
Subclasses must call make_scene at creation.