Hosting courtesy of Sourceforge

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

Game::Powerup_impl Class Reference

#include <Powerup.h>

Inheritance diagram for Game::Powerup_impl:

Inheritance graph
[legend]
Collaboration diagram for Game::Powerup_impl:

Collaboration graph
[legend]
List of all members.

Public Methods

 Powerup_impl (Graphics::DrawableAt *pic)

Protected Methods

void drawAt (SDL_Surface *surf, SDL_Rect *r)

Detailed Description

Provides some likely to be common to all subclasses implementation of Powerup. It implements the drawAt function.

Definition at line 37 of file Powerup.h.


Constructor & Destructor Documentation

Powerup_impl::Powerup_impl Graphics::DrawableAt   p
 

Parameters:
pic  dynamically allocated DrawableAt for which the drawAt call is delegated to. It is deleted in this items destructor.

Definition at line 22 of file Powerup.cpp.

Powerup_impl::~Powerup_impl  
 

Definition at line 26 of file Powerup.cpp.


Member Function Documentation

void Powerup_impl::drawAt SDL_Surface *    s,
SDL_Rect *    r
[protected, virtual]
 

Delegates to the DrawableAt passed into the constructor

Reimplemented from Graphics::DrawableAt.

Definition at line 30 of file Powerup.cpp.


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