Main Page   Class Hierarchy   Compound List   File List   Compound Members  

InventoryPanel Class Reference

Inventory Panel. More...

#include <inventorypanel.h>

Inheritance diagram for InventoryPanel:

Inheritance graph
[legend]
Collaboration diagram for InventoryPanel:

Collaboration graph
[legend]
List of all members.

Public Methods

 InventoryPanel ()
 Basic constructor. More...

 InventoryPanel (const unsigned int x, const unsigned int y, const unsigned int w, const unsigned int h)
 Advanced constructor. More...

virtual ~InventoryPanel ()
 Regular destructor. More...

InventoryPanel & operator= (InventoryPanel const &other)
 Assignment operator.

void draw (SDL_Surface *screen, Player &player, SDL_Surface *tools)
 Draws the inventory panel. More...


Private Methods

void drawSelectedBorders (SDL_Surface *screen, SDL_Rect dst)

Detailed Description

Inventory Panel.

This class is used to draws the inventory in the right part of the screen.


Constructor & Destructor Documentation

InventoryPanel::InventoryPanel  
 

Basic constructor.

You should probably not call this one directly.

InventoryPanel::InventoryPanel const unsigned int    x,
const unsigned int    y,
const unsigned int    w,
const unsigned int    h
 

Advanced constructor.

This call the super class constructor and initializes the specific data of this class.

InventoryPanel::~InventoryPanel   [virtual]
 

Regular destructor.

It does not do anything.


Member Function Documentation

void InventoryPanel::draw SDL_Surface *    screen,
Player &    player,
SDL_Surface *    tools
 

Draws the inventory panel.

Draws the inventory panel displaying the items that the player has, and drawing the selected item in some way


The documentation for this class was generated from the following files:
Generated on Thu Jun 6 17:22:22 2002 for Perihelion by doxygen1.2.15