#include <Panel.hh>
Inheritance diagram for sdlvisu::Panel:

Public Member Functions | |
| Panel (Game &g) | |
| void | displayPlayerInfo (int team_id, int player_id) |
| Called by VisuField, when the user move the mouse on a player. | |
| void | hidePlayerInfo () |
| Hide player information. | |
| void | setTurn (int player_id, int cur_turn) |
| virtual void | update () |
| Method called each frame, to perfom user custom code. | |
| void sdlvisu::Panel::update | ( | ) | [virtual] |
Method called each frame, to perfom user custom code.
You should override it.
Since a parent is assigned to the surface (and this parent is itself attached by other means to the root screen), this method is called at each frame. It is not called if this surface or one of its parent is disabled. In this method you can do what you want with your object, like processing input, updating other programs attributes, changing surface property, ...
Reimplemented from VirtualSurface.
1.4.7