コード例 #1
0
ファイル: Ball.cs プロジェクト: Milwaukeeqt/PingPong
 public Ball(Vector vector, PictureBox ball, World world)
 {
     this.vector = vector;
     this.radius = ball.Width/2;
     this.ball = ball;
     this.world = world;
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: Milwaukeeqt/PingPong
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     var myForm = new World();
     myForm.Show();
     myForm.GameLoop();
 }