public void Draw() { if (WithinCamera(_cameraPos)) { GSS.spriteBatch.Draw(_texture, DrawHelp.getShape(_cameraPos, _position, _size), null, Color.White, _rotationAngle, _origin, SpriteEffects.None, 0); } Debug(); }
public Rectangle getShape(Vector2 cameraPos) { return(DrawHelp.getShape(cameraPos, Position, Size)); }