title: "object container" and pointers
body: <p>First of all I would like to show some code, maybe  it will help.</p>
  
  <pre><code>CBank *Bank;
  
  COkno Okno(Bank);
  CBohater Bohater(Bank);
  CKlawiatura Klawiatura(Bank);
  CWszystkiePlatformy WszystkiePlatformy(Bank);
  Bank = new CBank(&amp;Okno, &amp;Bohater, &amp;Klawiatura, &amp;WszystkiePlatformy);
  </code></pre>
  
  <p>The main idea is to place all of above classes with exception of CBank which will group them, and then let the grouped classes access to each other. I don't know if I'm doing it right way. When trying the code above the pointer in classes COkno ... etc is outdated and don't store right data.</p>