Skip to content

Commit

Permalink
Merge remote branch 'jv/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dave256 committed Apr 18, 2011
2 parents 8b35871 + 1640eb6 commit 239c74f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Breakable.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void Breakable::draw()


//------------------------------------------------------------ //------------------------------------------------------------


// Method that destroys a block if Mario is big (has a mushroom or fireflower) // Method that destroys a block if Mario is big
void Breakable::breakBlock(bool isLarge) void Breakable::breakBlock(bool isLarge)
{ {
if (isLarge == true) { if (isLarge == true) {
Expand Down
2 changes: 1 addition & 1 deletion Flag.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void Flag::draw()


//------------------------------------------------------------ //------------------------------------------------------------


// returns the points based on where flag is touched // returns the points based on where the flag is touched
int Flag::flagPoints(int touched) int Flag::flagPoints(int touched)
{ {
if (touched = 1) { if (touched = 1) {
Expand Down
3 changes: 1 addition & 2 deletions Flag.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ class Flag:public Drawable{
virtual void draw(); virtual void draw();
// Returns object type FLAG // Returns object type FLAG
virtual int objectType() { return FLAG; } virtual int objectType() { return FLAG; }
// Method to decide and return how many points are awarded by touching the flag at certain points // Method to decide and return how many points are awarded by touching the flag at a certain point (touched)
// Touched is the point on the flag that the Mario touched
int flagPoints(int touched); int flagPoints(int touched);
}; };
#endif #endif

0 comments on commit 239c74f

Please sign in to comment.