khaledosman / terasoft-12

Automatically exported from code.google.com/p/terasoft-12
0 stars 0 forks source link

[Huge Modifications in the Exp2 Class diagram] #266

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Remove the following instance variables:
-vector3 finalHandPosition
-double currentAngle
-double startPosition
-double previousAngle
-int currentTime
-int startTime
-int counter

Modify the following instance variables:
double measuredVelcoity -> float
double measuredAngle -> float

Remove all the methods and just add the following:
-public void Reset()
-private float CurrentAngle(Vector3 leftShoulder, Vector3 rightShoulder, 
-Vector3 centerHip, Vector3 leftHand)
-private float MeasureVelocity(List<Vector2> list)
-private void UpdateVelocity(GameTime gametime, List<Vector2> angleTimeList, 
float angle)
-private bool HandStopped(List<Vector2> angleTimeList)
-public void MeasureAngleAndVelocity(GameTime gametime)

Original issue reported on code.google.com by mohamedra2fat on 24 May 2012 at 9:37

GoogleCodeExporter commented 9 years ago

Original comment by mk.cena92 on 24 May 2012 at 7:11

GoogleCodeExporter commented 9 years ago
Just making sure that everything is correct. These are the instance variables
        private int counter;
        private bool shooting;
        private bool beforeHip;
        private float measuredVelocity;
        private float measuredAngle;
        private List<float> angleList = new List<float>();
        private float startTime;
And these are the Methods in the class User2
public void Reset()
 private float CurrentAngle(Vector3 leftShoulder, Vector3 rightShoulder, Vector3 centerHip, Vector3 leftHand)
private float MeasureVelocity(List<float> list, GameTime gameTime)
private bool HandStopped(List<float> angleList)
   public void MeasureVelocityAndAngle(GameTime gametime)

Original comment by mohamedra2fat on 25 May 2012 at 5:08

GoogleCodeExporter commented 9 years ago

Original comment by mk.cena92 on 25 May 2012 at 5:13