コード例 #1
0
ファイル: Program.cs プロジェクト: SimonLight001/Shmup
 public static void attract(Beam beam, Point point, double force)
 {
     // Calculate the effect of a force of attraction on a beam.
     // Update the motion of the beam.
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: SimonLight001/Shmup
 public Laser(int sprite, double x, double y, double velocity, double direction)
 {
     this.sprite = sprite;
     this.beam = new Beam(x,y,velocity,direction);
 }