public void UpdateMapEngine() { #if XBOX MapEngineThread.SetProcessorAffinity(3); #endif while (true) { ChunkedMapEngine.Update(); } }
public override void Draw(GameTime gameTime) { MapSpriteBatch.Begin( SpriteSortMode.Immediate, BlendState.AlphaBlend, SamplerState.PointClamp, null, null, null, Matrix.Identity); ChunkedMapEngine.Draw(MapSpriteBatch); MapSpriteBatch.End(); base.Draw(gameTime); }
public override void Destruct() { ChunkedMapEngine.Destruct(); MapEngineThread.Abort(); base.Destruct(); }