class GfxPool

This class has 2 different roles (and therefore should be cut in two parts) - it stores the big image (the pool) that contains all the sprites images and the background; - it is the canvas where the background and the animated sprites are set up All the code that manages this part of the class is those inherited from QCanvas More...

Definition#include <ksirk/gfxpool.h>
InheritsQCanvas (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Members


Detailed Description

This class has 2 different roles (and therefore should be cut in two parts) - it stores the big image (the pool) that contains all the sprites images and the background; - it is the canvas where the background and the animated sprites are set up All the code that manages this part of the class is those inherited from QCanvas

 GfxPool (int uneLargeur, int uneHauteur)

GfxPool

Loads and initializes the pool of bitmaps; creates the uneLArgeur x uneHauteur canvas

 ~GfxPool ()

~GfxPool

releases the memory, particularly the image used for the pool

QImage  copy (int x, int y, int w, int h)

copy

Returns the subimage of the pool defined by the coordinates arguments

QImage  copyMain (void)

copyMain

Returns the subimage of the pool corresponding to the 1024x768 background

QString poolName

poolName

[private]

QImage* bitmapInfo

bitmapInfo

[private]


Generated by: gael on noirdes.limsi.fr on Sat Aug 31 15:31:50 2002, using kdoc 2.0a53.