khaledosman / terasoft-summer-reunited

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

As a User,I should lose the sword after few times of using or after certain time. #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Modifying the play screen class to rid the player of the sword after a few 
times of usage.

Original issue reported on code.google.com by asamg...@gmail.com on 25 Sep 2012 at 8:09

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

Added a key listener for easier testing.

Original comment by asamg...@gmail.com on 28 Sep 2012 at 4:54

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

Modified the update function to lose the sword after one use.

Original comment by asamg...@gmail.com on 29 Sep 2012 at 12:57

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

Added the CheckJump and GetJumpTime functions.

Original comment by asamg...@gmail.com on 29 Sep 2012 at 1:22

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

Modified the update function to avoid the disappearance of the sprite animation 
after swapping hands.

Original comment by asamg...@gmail.com on 29 Sep 2012 at 1:23

GoogleCodeExporter commented 9 years ago
Review: 
Why dont you remove your boolean variable.. and just acquireSword(false) in 
this if condition
if (Constants.isSwappingHand && player.HasSword() && sprite.GetY() == 399)
                                {
                                    swordUsed=true;
                                sprite.SlashVirus();
                                }

Original comment by vendett...@gmail.com on 8 Oct 2012 at 2:44