/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (GameMain game = new GameMain()) { game.Run(); } }
public HexTileMap(Game game, MapData mapData) : base(game) { mGame = (GameMain)game; mMapData = mapData; mMapViewPosition = new Vector3(0.0f, 0.0f, 0.0f); mMapZoom = 1.0f; }
Stack<Matrix> worldMatrixStack; // used for OpenGL style modelview #endregion Fields #region Constructors public RenderMan(GameMain game) { mGame = game; TextureMan = new TextureMan(); // loads texture resources worldMatrixStack = new Stack<Matrix>(); InitializeRenderEffect(); // init render utilities RenderQuad = new RenderQuad(this); RenderHex = new RenderHex(this); RenderUnit = new RenderUnit(this); }
public InputMan(Game game, GameWorld world) : base(game) { mGame = (GameMain)game; mWorld = world; }