コード例 #1
0
ファイル: PinBall.cs プロジェクト: kjanssen/pinball
 public PinBall(Play play, Vector2 center)
     : base(play.game1)
 {
     // TODO: Construct any child components here
     play1 = play;
     ballCenter = center;
 }
コード例 #2
0
ファイル: Bumper.cs プロジェクト: kjanssen/pinball
        public Bumper(Play play)
            : base(play.game1)
        {
            // TODO: Construct any child components here

            playScene = play;
        }
コード例 #3
0
ファイル: Flipper.cs プロジェクト: kjanssen/pinball
 public Flipper(Play play, Vector2[] points, Vector2 pivot, Vector2 origin, string textureName)
     : base(play.game1)
 {
     // TODO: Construct any child components here
     playScene = play;
     flipperPoints = points;
     flipperPivot = pivot;
     flipperOrigin = origin;
     flipperTextureName = textureName;
 }
コード例 #4
0
ファイル: Points.cs プロジェクト: kjanssen/pinball
 public Points(Play play, Vector2 center, int radius, int value, string[] textureName)
     : base(play.game1)
 {
     // TODO: Construct any child components here
     playScene = play;
     pointsCenter = center;
     pointsRadius = radius;
     pointsValue = value;
     pointsTextureName = textureName;
 }
コード例 #5
0
ファイル: LeftFlipper.cs プロジェクト: kjanssen/pinball
 public LeftFlipper(Play play, Vector2[] points, Vector2 pivot, Vector2 origin, string textureName)
     : base(play, points, pivot, origin, textureName)
 {
     // TODO: Construct any child components here
 }
コード例 #6
0
ファイル: LeftFlipper.cs プロジェクト: Boerlam001/pinball
 public LeftFlipper(Play play, Vector2[] points, Vector2 pivot, Vector2 origin, string textureName)
     : base(play, points, pivot, origin, textureName)
 {
     // TODO: Construct any child components here
 }