in the XNA framework for example there is a SpriteBatch Class. The SpriteBatch.Begin() method accepts parameters like this:
spriteBatch.Begin(SpriteSortMode.FrontToBack, BlendState.AlphaBlend);
How can I create a class that accepts parameters in the same way?
create an
Enum:and use that as a parameter: