예제 #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;
 }