portfolio/aquarium/poisson.h
thierry_nibert 5b6730b2dc add files
2026-08-01 16:49:57 +02:00

28 lines
487 B
C++

#ifndef POISSON_H
#define POISSON_H
#include "point3D.h"
#include "vector.h"
class Poisson
{
public:
void anime(float t);
bool dans_voisinage( point3D p, double seuil = 1.5);
void affiche();
//signals:
//public slots:
// Poisson(point3D p);
Poisson(point3D p, point3D v);
private:
point3D position;
point3D vitesse, v_init;
double distance;
friend class Banc;
friend class Obstacle;
friend class aquarium;
};
#endif // POISSON_H