ssafty / terasoft-12

Educational Kinect Game using C# and XNA
https://www.youtube.com/watch?v=sl8d_kQj3c0
0 stars 0 forks source link

User2 #333

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry for this change, but you will have to almost revert to the old one D: :D 
:D
Remove everything, and use these Instance Variables:
 private int currentTime;
        private int startTime;
        private bool shooting;
        private bool beforeHip;
        private float previousAngle;
        private int counter = 0;
        private float measuredVelocity;
        private float measuredAngle;

And those methods:
public void Reset()
public void MeasureAngle(GameTime gametime)
public void MeasureVelocity()

Sorry again for the Inconvenience 

Original issue reported on code.google.com by mohamedra2fat on 24 May 2012 at 10:59

GoogleCodeExporter commented 9 years ago
Cena,,wait lil bit,,I will try to work on something, Dont change it yet.

Original comment by mohamedra2fat on 24 May 2012 at 11:02

GoogleCodeExporter commented 9 years ago
ok,,Just changeprivate List<Vecotor2> angleList = new List<Vector2>(); to 
private List<float> angleList = new List<float>();

Original comment by mohamedra2fat on 24 May 2012 at 11:44

GoogleCodeExporter commented 9 years ago
ana msh fahem 7aga

Original comment by mk.cena92 on 25 May 2012 at 4:54