Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Graphics::DrawableAt Class Reference

#include <draw.h>

Inheritance diagram for Graphics::DrawableAt:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual void drawAt (SDL_Surface *screen, SDL_Rect *loc)=0

Detailed Description

Interface for everything that can be drawn on an SDL_Surface in a specific area. DrawableAt objects typically do not keep their location at all

Definition at line 50 of file draw.h.


Constructor & Destructor Documentation

virtual Graphics::DrawableAt::~DrawableAt   [virtual]
 

Definition at line 58 of file draw.h.


Member Function Documentation

virtual void Graphics::DrawableAt::drawAt SDL_Surface *    s,
SDL_Rect *    r
[pure virtual]
 

Draw on the specific surface within within given bounds

Parameters:
screen  SDL_Surface* that the image is blitted onto
loc  SDL_Rect boundry to blit inside of

Reimplemented in Game::Flame, Game::Powerup_impl, Game::SingleImageTile, Game::ExplodableTile, Game::ConveyorTile, Game::SlipperyTile, Graphics::AbstractImage, Graphics::SingleFrameImage, Graphics::AnimatedImage, Graphics::ImageFrame, and Editor::EditorTile.


The documentation for this class was generated from the following file:
Generated on Tue May 21 07:26:55 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001