# Game Class Structure?

**URL:** https://forum.kirupa.com/t/game-class-structure/216739
**Category:** flash
**Created:** [February 20, 2007, 7:07am UTC](https://forum.kirupa.com/t/game-class-structure/216739 "2007-02-20T07:07:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Flashthinker](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@Flashthinker](https://forum.kirupa.com/u/Flashthinker)
#### Post date: [February 20, 2007, 7:07am UTC](https://forum.kirupa.com/t/game-class-structure/216739/1 "2007-02-20T07:07:03Z")

</div>

I recently started working on a simple 3D fps and I did some planning.  
But I’m not entirely sure what’s the best way to layout my classes.  
I made a diagram but I’m not sure if it’s right…

Is it wise to initialize all my classes in the Main class or should I initialize them from other classes that relate to them?

Anyway; here’s a digram, please comment on the structure:

![](http://denvish.net/ulf/200207/61752_diagram_as3_3d_game.gif)
