T4 Modules Howto Guide/Engine Structure

From Tales of Maj'Eyal
Revision as of 00:41, 29 May 2013 by 66.225.111.10 (Talk) (Created page with "<h1 id="toc0">Engine Structure: How it all fits together</h1> <h2 id="toc1">Global Variables</h2> <p>These objects are global and are available from anywhere in the program:<...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Engine Structure: How it all fits together

Global Variables

These objects are global and are available from anywhere in the program:


Object Purpose
game This is your game class, core of your game and allows access to pretty much any other object in the game.
world This is your world class. By default this doesn't do much, but a custom world class allows persistance between new characters and savefiles. Think history, or bones files.
profile This is the player profile.


Game Class