$Date: 2005/10/23 10:46:16 $
$Revision: 1.2 $
-- creates a composition of sprites with positions x and y.
-- Be aware, that the positions of the EM_SPRITEs will be added
-- to x and y, so if a_sprite has the position (100, 100)
-- and a new composition is created with an_x=30 and a_y=40
-- the position of the first sprite would be (130, 140)
-- creates a composition of sprites with positions x and y.
-- Be aware, that the positions of the EM_SPRITEs will be added
-- to x and y, so if a_sprite has the position (100, 100)
-- and a new composition is created with an_x=30 and a_y=40
-- the position of the first sprite would be (130, 140)
-- 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)
-- draws all items in list to screen.
-- (From EM_DRAWABLE)
-- Draws rectangular part of current defined by rect to a_surface
-- (From EM_DRAWABLE)
-- extends the list by an image and an offset
-- (From EM_SPRITE)
-- 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
-- (From EM_SPRITE)
-- 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 composition acts like an EM_SPRITE, but itself contains multiple
EM_SPRITEs. All contained EM_SPRITEs are positioned relatively to the
x and y positoins of EM_SPRITE_COMPOSITION