コード例 #1
0
ファイル: GroundObject.cs プロジェクト: mikitaby/Planes
        public GroundObject()
        {
            int x = RandomsValues.getRandomStartCoordinate();
            int y = RandomsValues.getRandomStartCoordinate();

            location = new Point(x, y);
        }
コード例 #2
0
ファイル: plane.cs プロジェクト: mikitaby/Planes
 public Plane()
 {
     this.onTheFly = true;
     this.speed    = RandomsValues.getRandomSpeed();
     this.degree   = RandomsValues.getRandomDegree();
     this.name     = RandomsValues.getRandomName();
     this.course   = new Course(new Point(RandomsValues.getRandomStartCoordinate(), RandomsValues.getRandomStartCoordinate()));
 }