Esempio n. 1
0
 public SpIRIT(Texture2D a, Rectangle r, Checkpoint p)
 {
     AssetSheet = a;
     W = new CollisionWeb(r);
     point = p;
     isActive = false;
     onScreenSpeed = 7;
 }
Esempio n. 2
0
 //constructor
 public Dude(Rectangle r, Texture2D asset)
 {
     AssetSheet = asset;
     W = new CollisionWeb(r);
 }
Esempio n. 3
0
        protected CollisionWeb W; //contains Draw rectangle and collision points

        #endregion Fields

        #region Constructors

        public Sprite(Texture2D a, Rectangle r)
        {
            AssetSheet = a;
            W = new CollisionWeb(r);
        }