AStarXNA.GameObject.GameObject C# (CSharp) Method

GameObject() protected method

protected GameObject ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System
        protected GameObject(Game game)
        {
            Game = game;
            SpriteBatch = (SpriteBatch) game.Services.GetService(typeof (SpriteBatch));
        }