$Date: 2005/10/23 10:46:16 $
$Revision: 1.4 $
-- creates an animation with 1 element
-- looping is set to false by default
-- duration is the time in milliseconds this image will be displayed
-- same as make, but takes a bitmap instead of a path to the image
-- void can be given to display nothing for a period of time
-- Creates a sprite from an animation.
-- takes an EM_ANIMATION and the delay of each image.
-- Does the animation loop?
-- Is the animation playing?
-- Saves, when the animation was paused (-1 if not paused)
-- Should Current not scale when drawed?
-- True means that the object will be drawed unscaled
-- but its position (reference_point) will still be transformed correctly
-- if drawed on a transformed scaled coordinate system
-- (This is handled accordingly by draw_object of EM_SURFACE)
-- (From EM_DRAWABLE)
-- Horizontal position, distance in pixels from left
-- (From EM_DRAWABLE)
-- Vertical position, distance in pixels from top
-- (From EM_DRAWABLE)
-- creates an animation with 1 element
-- looping is set to false by default
-- duration is the time in milliseconds this image will be displayed
-- Creates a sprite from an animation.
-- takes an EM_ANIMATION and the delay of each image.
-- same as make, but takes a bitmap instead of a path to the image
-- void can be given to display nothing for a period of time
-- pauses the animation
-- starts the animation
-- stops and sets back the animation
-- extends the list by an image and an offset
-- same as extend, but takes a bitmap instead of a path to the image
-- void can be given to display nothing for a period of time
-- Resets all frames to a constant frame rate of fps
-- draws the current bitmap on the screen (if it is playing)
-- (From EM_DRAWABLE)
-- Draws rectangular part of current defined by rect to a_surface
-- (From EM_DRAWABLE)
-- Have events been initialized?
-- (From EM_DRAWABLE)
-- Event initialization.
-- Needs to be called before subscribing for events.
-- (From EM_DRAWABLE)
-- Mouse button down event,
-- gets published when the mouse button is pressed over Current,
-- an EM_MOUSEBUTTON_EVENT is passed as argument
-- (From EM_DRAWABLE)
-- Mouse button up event,
-- gets published when the mouse button is released over Current,
-- an EM_MOUSEBUTTON_EVENT is passed as argument
-- (From EM_DRAWABLE)
-- Mouse button up event,
-- gets published when the mouse button is released over Current,
-- an EM_MOUSEMOTION_EVENT is passed as argument
-- (From EM_DRAWABLE)
-- Publish mouse event when a_mouse_event occured on Current.
-- Descendants should redefine this feature
-- for only catching and publishing their mouse events when mouse pointer
-- is realy inside object or for
-- distributing mouse events to child objects.
-- (From EM_DRAWABLE)
-- Orthogonal rectangle surrounding Current; (i.e. usefull
-- for visibility testing if it intersects with
-- coordinate_area of EM_SURFACE) TODO: We create a new
-- one on each call. Maybe there is a more efficient way to
-- do that?
-- (From EM_DRAWABLE)
-- Reference point of Current relative to which it should be positioned.
-- (i.e. important when drawn on a scaled coordinate system and is_size_fixed is True)
-- (From EM_DRAWABLE)
A sprite is a list of drawables with seperate framerates for each image.
Sprites may be generated with an *.anim file using EM_ANIMATION to parse
the file.