示例#1
0
        public Factory()
        {
            float ballMass = 10;
            float ballArea = 20;

            this.ballModel = new BallModel(ref ballMass, ref ballArea);
        }
示例#2
0
 public Ball(BallModel ballModel, Tuple <int, int> position) : base(ref ballModel.mass, ref ballModel.area)
 {
     this.position = position;
 }