public SpIRIT(Texture2D a, Rectangle r, Checkpoint p) { AssetSheet = a; W = new CollisionWeb(r); point = p; isActive = false; onScreenSpeed = 7; }
//constructor public Dude(Rectangle r, Texture2D asset) { AssetSheet = asset; W = new CollisionWeb(r); }
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); }