예제 #1
0
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // TODO: Add your initialization logic here
            Window.Title = "Test Game";
            bb = new BattleBase(20000,20000);

            List<int> dimensions = InitGraphicsMode(SCREEN_WIDTH, SCREEN_HEIGHT, false);

            CommandTimer.formTemplates();
            BattleGroup.setConstants(dimensions[0], dimensions[1], 10);
            UnitController.m_battleBase = bb;

            base.Initialize();
        }
예제 #2
0
 public BattleCamera(BattleBase basex)
 {
     m_base = basex;
     m_possibleUnitFocuses = new Dictionary <String, Unit>();
 }
예제 #3
0
 public BattleCamera(BattleBase basex)
 {
     m_base = basex;
     m_possibleUnitFocuses = new Dictionary<String,Unit>();
 }