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