Basic architecture question

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Basic architecture question

      I understand the concept of having the Application Layer, Game Logic, and View components. Is this how they work together?

      Application Layer
      ^
      |
      |
      v
      View<--->Game Logic

      In other words, the Game Logic does NOT interface with the Application Layer at all?
      Chris
      VS 2008
      MS Vista Home Premium 32-bit
    • Hi Chris,

      Yes your right more or less.

      The Application layer creates the logic layer. It calls Update once per game loop to update the game logic. So it does interface with to trigger off the logic update from time to time.

      The logic layer has a list of game views and controls updating and rendering them as the application layer.

      You can see this in GameLogic, GameApp and HumanView classes at first (Not sure if i have the class names right as its been a while since i looked at the GCC3 code).