class Sp_Journey: public Sp_CheckPoint

Journey: it is an ensemble of CheckPoints ordered

Inheritance:


Public Methods

[more] Sp_Journey()
constructor
[more]virtual ~Sp_Journey()
destructor
[more]int AddPlayer()
add a player to the journey
[more]void AddPlayer(int)
add a player to finish
[more]long BestLap(int player)
give the bestlap of a player
[more]void On(int player, long temps)
this function is called when a player is on arrival

Protected Methods

[more]void AddCheckPoint(Sp_CheckPoint *)
add checkpoint (only use in constructor of derivated class)

Private Fields

[more] bestlap
list of best lap for each player
[more] checkpoints
list ordered of checkpoints
[more]int nbplayers
number of players


Inherited from Sp_CheckPoint:

Protected Fields

o time


Documentation

Journey: it is an ensemble of CheckPoints ordered. And it is a particular checkpoint: the finish. Rem: we could not add dynamically checkpoints.
o Sp_Journey()
constructor

ovirtual ~Sp_Journey()
destructor

oint AddPlayer()
add a player to the journey

ovoid AddPlayer(int)
add a player to finish

olong BestLap(int player)
give the bestlap of a player

ovoid On(int player, long temps)
this function is called when a player is on arrival

ovoid AddCheckPoint(Sp_CheckPoint *)
add checkpoint (only use in constructor of derivated class)

o bestlap
list of best lap for each player

o checkpoints
list ordered of checkpoints

oint nbplayers
number of players


Direct child classes:
Sp_CircuitC

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.