예제 #1
0
 public void AddStar(float mass, double posX, double posY, double speedX, double speedY)
 {
     resizeStarArray(StarCount + 1);
     Stars[StarCount] = new Star(StarCount, mass, posX, posY, speedX, speedY);
     StarCount++;
 }