struct Particle{ // základ není private ale public (jediný rozdíl) public: float m_x; float m_y; double m_xspeed; double m_yspeed; struct SParticle