Esempio n. 1
0
 public static void Update(float dt)
 {
     if (hexGrid == null)
     {
         return;
     }
     hexGrid.Update(dt * 0.4f);
     hexGrid.HexScale = 0.2f;
 }
 public override void Update(GameTime gameTime, bool otherScreenHasFocus, bool coveredByOtherScreen)
 {
     base.Update(gameTime, otherScreenHasFocus, coveredByOtherScreen);
     ++framecount;
     hexBackground.Update((float)gameTime.ElapsedGameTime.TotalSeconds);
 }