khaledosman / terasoft-12

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

109: As a User, I should see the ball moving according to the height of the terrain. #222

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Implementation:
Get the height of the terrain.
Change the y-component of the ball.

Original issue reported on code.google.com by vendett...@gmail.com on 11 May 2012 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 11 May 2012 at 10:35

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r919.

Changed region's name 

Original comment by vendett...@gmail.com on 15 May 2012 at 2:15

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r920.

Added method GetHeight

Original comment by vendett...@gmail.com on 15 May 2012 at 2:16

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r921.

Added documentation for GetHeight

Original comment by vendett...@gmail.com on 15 May 2012 at 2:17

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1037.

Fixed small mistake in GetHeight

Original comment by vendett...@gmail.com on 17 May 2012 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 18 May 2012 at 1:42

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1151.

Added field for model. 

Original comment by vendett...@gmail.com on 19 May 2012 at 3:44

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1152.

Made final adjustments. 

Original comment by vendett...@gmail.com on 19 May 2012 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 20 May 2012 at 5:06

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 21 May 2012 at 11:23

GoogleCodeExporter commented 9 years ago
GetHeight(): group variables between operators.

Original comment by ahmedheg...@gmail.com on 23 May 2012 at 8:44

GoogleCodeExporter commented 9 years ago
Which variables are you talking about ma3lesh ?

Original comment by vendett...@gmail.com on 23 May 2012 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 23 May 2012 at 4:38

GoogleCodeExporter commented 9 years ago
>>class BallAnimation:
*update(): group the variable between operators. ex: &&, ||, etc...
no need for base in (!base.Finished). 

Original comment by ahmedheg...@gmail.com on 24 May 2012 at 10:39

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 24 May 2012 at 3:10

GoogleCodeExporter commented 9 years ago
*method GetHeight():
int xComponent = (int)Position.X + terrainWidth / 2;
            int zComponent = -(int)Position.Z + terrainHeight / 2;
            if (xComponent > 0 && xComponent < heightData.GetLength(0)
                && zComponent > 0 && zComponent < heightData.GetLength(1))

<<group>>

Original comment by ahmedheg...@gmail.com on 24 May 2012 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by vendett...@gmail.com on 24 May 2012 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by ahmedheg...@gmail.com on 24 May 2012 at 8:26

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1758.

Moved GetVelocityAfterCollision to Physics library. 

Original comment by vendett...@gmail.com on 24 May 2012 at 9:22

GoogleCodeExporter commented 9 years ago

Original comment by ams.sa...@gmail.com on 25 May 2012 at 11:28

GoogleCodeExporter commented 9 years ago
ball moves well according to the terrain height

Original comment by khaled.osmaan on 25 May 2012 at 1:48

GoogleCodeExporter commented 9 years ago
- the return of a method call should indicate the type and the name of the 
object

Original comment by mk.cena92 on 25 May 2012 at 8:48

GoogleCodeExporter commented 9 years ago
https://cacoo.com/diagrams/IGWCdJDSYT4yj68v

Original comment by vendett...@gmail.com on 25 May 2012 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by mk.cena92 on 25 May 2012 at 8:53