public FullPic3(StageDataPackage StageData, string textureName) { this.StageData = StageData; Rectangle boundRect = BoundRect; int left = boundRect.Left; boundRect = BoundRect; int num1 = boundRect.Width / 2; double num2 = left + num1; boundRect = BoundRect; double num3 = boundRect.Bottom + 100; Position = new PointF((float)num2, (float)num3); Velocity = 9f; DirectionDegree = -90.0; Active = false; LifeTime = 200; Accelerate = -0.2f; AccelerateDictionary.Add(90, 0.1f); TransparentVelocityDictionary.Add(90, -10f); AngleWithDirection = false; AngleDegree = 90.0; TxtureObject = TextureObjectDictionary[textureName]; Background2.BackgroundList.Add(this); OutsideRegion = 500; }
public CharacterName(StageDataPackage StageData, string textureName) : base(StageData) { Rectangle boundRect = BoundRect; double num1 = boundRect.Right - 70; boundRect = BoundRect; double num2 = boundRect.Top + 300; Position = new PointF((float)num1, (float)num2); Velocity = 0.0f; Direction = Math.PI / 2.0; TransparentValueF = 0.0f; TxtureObject = TextureObjectDictionary[textureName]; TransparentVelocityDictionary.Add(10, 20f); TransparentVelocityDictionary.Add(210, -10f); }
public FullPic2(StageDataPackage StageData, string textureName) { this.StageData = StageData; Rectangle boundRect = BoundRect; double num1 = boundRect.Left + 440; boundRect = BoundRect; double num2 = boundRect.Top + 200; Position = new PointF((float)num1, (float)num2); Velocity = 9f; DirectionDegree = 165.0; Active = false; LifeTime = 200; Accelerate = -0.2f; AccelerateDictionary.Add(90, 1f); TransparentVelocityDictionary.Add(120, -6f); AngleWithDirection = false; AngleDegree = 90.0; TxtureObject = TextureObjectDictionary[textureName]; Background2.BackgroundList.Add(this); OutsideRegion = 500; }