Sprite RedEsc; //子弹消失时候的显示旋转红符 public ReimuBullet_Dir(TextureManager texturemanager, Vector2D direction) { bulletbody = new RedCard(texturemanager); direction.Normalize(); this.Direction.X = direction.X; this.Direction.Y = direction.Y; attack = 100; speed = 800; RedEsc = (new RedBox(texturemanager)).GetSprite(); }
float _alpha; //那段时间的透明值 #endregion Fields #region Constructors public ReimuBullet_Dir(TextureManager texturemanager, Vector2D direction) { bulletbody = new RedCard(texturemanager); direction.Normalize(); this.Direction.X = direction.X; this.Direction.Y = direction.Y; attack = 100; speed = 800; RedEsc = (new RedBox(texturemanager)).GetSprite(); }