Contains most of the internal physics properties of a sprite
コード例 #1
0
        public Sprite( Vector2 p_Pos, Texture2D p_Tex )
        {
            Particle = new Particle ( );

            Texture = p_Tex;

            Scale = 1.0f;
            Rotation = 0.0f;
            Colour = Color.White;

            Center = p_Pos;
        }
コード例 #2
0
 public Emitter( int p_ParticleCount )
 {
     ParticleCount = p_ParticleCount;
     Particle = new Particle ( );
 }
コード例 #3
0
        private Texture2D _Texture; // Texture to use

        #endregion Fields

        #region Constructors

        public Sprite( )
        {
            Particle = new Particle ( );
        }
コード例 #4
0
 public Emitter( )
 {
     Particle = new Particle ( );
 }