Back to index

extremetuxracer  0.5beta
Public Member Functions | Public Attributes
highscore::scorepost Struct Reference

#include <highscore.h>

Collaboration diagram for highscore::scorepost:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 scorepost ()
std::string toString ()

Public Attributes

std::string nick
int score

Detailed Description

Definition at line 56 of file highscore.h.


Constructor & Destructor Documentation

Definition at line 60 of file highscore.h.

                          {
                     nick="";
                     score = 0;
              }

Member Function Documentation

Definition at line 325 of file highscore.cpp.

                             {
       char buff[40];
       snprintf(buff, 40, ( nick + _(" (%d points)") ).c_str(), score );
       return std::string(buff);
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 58 of file highscore.h.

Definition at line 59 of file highscore.h.


The documentation for this struct was generated from the following files: