Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2015, 5:31:23 PM (9 years ago)
Author:
landauf
Message:

replaced tabs with spaces. no changes in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS14/src/modules/jump/JumpEnemy.cc

    r10078 r10215  
    107107        if ((position.x < leftBoundary_ && velocity.x < 0) || (position.x > rightBoundary_ && velocity.x > 0))
    108108        {
    109                 velocity.x = -velocity.x;
     109            velocity.x = -velocity.x;
    110110        }
    111111
    112112        if ((position.z < lowerBoundary_ && velocity.z < 0) || (position.z > upperBoundary_ && velocity.z > 0))
    113113        {
    114                 velocity.z = -velocity.z;
     114            velocity.z = -velocity.z;
    115115        }
    116116
     
    130130            if(figurePosition.x > enemyPosition.x-width_ && figurePosition.x < enemyPosition.x+width_ && figurePosition.z > enemyPosition.z-height_ && figurePosition.z < enemyPosition.z+height_)
    131131            {
    132                 touchFigure();
     132                touchFigure();
    133133            }
    134134        }
     
    158158    void JumpEnemy::touchFigure()
    159159    {
    160         if (dead_ == false)
    161         {
    162                 figure_->CollisionWithEnemy(this);
    163         }
     160        if (dead_ == false)
     161        {
     162            figure_->CollisionWithEnemy(this);
     163        }
    164164    }
    165165}
Note: See TracChangeset for help on using the changeset viewer.