public void Draw(GameTime gameTime, Camera cam) { spriteBatch.Begin(SpriteSortMode.BackToFront, BlendState.AlphaBlend, null, null, null, null, cam.GetTransformation()); for (int i = 0; i < _GALLARY.Count; i++ ) { spriteBatch.Draw(_GALLARY[i], _ANCHORS[i], Color.White); } spriteBatch.End(); }
public void DrawIntoCamera(Camera cam) { _sprBtch.Begin(SpriteSortMode.BackToFront, BlendState.AlphaBlend, null, null, null, null, cam.GetTransformation()); foreach (OBJ obj in _BUCKET) _sprBtch.Draw(_t2D, obj.pos, _color); _sprBtch.End(); }