Exemplo n.º 1
0
 public void Draw(Texture2D spark, Camera camera, SpriteBatch spriteBatch)
 {
     Vector2 vector = camera.VisualCoordination(position.X, position.Y);
     spriteBatch.Begin();
     spriteBatch.Draw(spark,vector, null, Color.White, 0f, Vector2.Zero, 0.5f, SpriteEffects.None, 0); // visuella koordinationer stööre
     spriteBatch.End();
 }