public void RenderScreen() { PrepLayer(TopLayer, ref _TopDFlag); PrepLayer(EffectLayer, ref _MenuDFlag); PrepLayer(MenuLayer, ref _MenuDFlag); PrepLayer(SpriteLayer, ref _SpriteDFlag); PrepLayer(MapLayer, ref _MapDFlag); PrepLayer(BackgroundLayer, ref _BackgroundDFlag); _MyBuffer.BufferDraw(); }