Example #1
0
 public QuadTree(Rectangle bounds, GameDataLake gameDataLake)
 {
     Bounds       = bounds;
     GameDataLake = gameDataLake;
     Items        = new Dictionary <int, Node>();
     Top          = new Node(0, Bounds, this);
 }
Example #2
0
        public GameStateLoop(Game game, SpriteBatch spriteBatch, StateController stateController)
        {
            Game = game;

            StateController = stateController;


            GameDataLake = new GameDataLake();

            Character = new Character(GameDataLake);
            Initialize();
        }