#include <inventorypanel.h>
Inheritance diagram for InventoryPanel:


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) |
This class is used to draws the inventory in the right part of the screen.
|
|
Basic constructor. You should probably not call this one directly. |
|
||||||||||||||||||||
|
Advanced constructor. This call the super class constructor and initializes the specific data of this class. |
|
|
Regular destructor. It does not do anything. |
|
||||||||||||||||
|
Draws the inventory panel. Draws the inventory panel displaying the items that the player has, and drawing the selected item in some way |
1.2.15