Commit 337f58ac authored by Victor Blanchet's avatar Victor Blanchet
Browse files

Update reseau_cellule_etats.cpp

parent d237a7d9
......@@ -2,6 +2,8 @@
#include <iostream>
#include <iomanip>
using namespace std;
//méthodes de la classe EnsembleEtat
EnsembleEtat::Handler EnsembleEtat::handler;
......@@ -25,8 +27,8 @@ void EnsembleEtat::libererInstance() {
handler.instance = nullptr;
}
void EnsembleEtat::ajouterEtat(unsigned int ind, std::string lab,int r, int g, int b, int a){
handler.instance->ensEtats[nbEtats] = new Etat(ind, lab, r, g, b, a);
void EnsembleEtat::ajouterEtat(unsigned int ind, std::string lab,int r, int g, int b){
handler.instance->ensEtats[nbEtats] = new Etat(ind, lab, r, g, b);
nbEtats++;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment