/******************************************************************************/ /*! \file GameFunctions.cs \author Kevin Carey Contains many objects and functions specific to the game Copyright © 2007 DigiPen(USA) Corporation. All rights reserved. */ /******************************************************************************/ using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; namespace Shooting_Range { // Game enums enum GameState { MENU, GAME, STATS, CREDITS }; enum GameType { TARGETS, LOGIC }; // GameFunctions Class // Contains many objects and functions specific to the game class GameFunctions { // Constructor public GameFunctions(Game1 game) { m_Game = game; m_GraphicsManager = new GraphicsManager(game); m_ModelDictionary = new Dictionary(); m_Sound = new Sound(); m_TargetEventList = new List(); m_LogicEventList = new List(); m_BulletList = new List(); m_BulletIndex = 0; m_BulletRayList = new List(); m_BulletRayIndex = 0; m_ButtonList = new List