コード例 #1
0
 public Player(Texture2D texture, int x, int y, Texture2D explosion)
 {
     base.texture   = texture;
     position       = new Vector2(x - (texture.Width / 2), y);
     this.explosion = new AnimatedSprite(explosion, 5, 5);
 }