Graine
Génération procédurale de créatures et apprentissage par réseaux de neurones.
Public Member Functions | List of all members
FeelingBar Class Reference

#include <FeelingBar.hpp>

Public Member Functions

 FeelingBar (double max)
 Constructor of the FeelingBar. More...
 
void addValue (double value)
 Add value to the bar. More...
 
void removeValue (double value)
 Remove value to the bar. More...
 
void addPercent (double nbPercent)
 Add a certain percent amount to the bar. More...
 
void removePercent (double nbPercent)
 Remove a certain percent amount of the bar. More...
 
double getValue ()
 
double getValueInPercent ()
 
double getPercent ()
 

Constructor & Destructor Documentation

FeelingBar::FeelingBar ( double  max)

Constructor of the FeelingBar.

Member Function Documentation

void FeelingBar::addPercent ( double  nbPercent)

Add a certain percent amount to the bar.

Here is the call graph for this function:

void FeelingBar::addValue ( double  value)

Add value to the bar.

Here is the caller graph for this function:

double FeelingBar::getPercent ( )

Here is the caller graph for this function:

double FeelingBar::getValue ( )
double FeelingBar::getValueInPercent ( )
void FeelingBar::removePercent ( double  nbPercent)

Remove a certain percent amount of the bar.

Getters, value of the bar, value in percent and actual percent value of the bar

Here is the call graph for this function:

void FeelingBar::removeValue ( double  value)

Remove value to the bar.

Here is the caller graph for this function:


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