예제 #1
0
 public SpIRIT(Texture2D a, Rectangle r, Checkpoint p)
 {
     AssetSheet = a;
     W = new CollisionWeb(r);
     point = p;
     isActive = false;
     onScreenSpeed = 7;
 }
예제 #2
0
파일: Dude.cs 프로젝트: scarbunkle/spnmario
 //constructor
 public Dude(Rectangle r, Texture2D asset)
 {
     AssetSheet = asset;
     W = new CollisionWeb(r);
 }
예제 #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);
        }