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