Skip to content

Commit

Permalink
Private methods made private
Browse files Browse the repository at this point in the history
  • Loading branch information
andresan87 committed Oct 12, 2013
1 parent 0e60b73 commit 47b4f23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions advanced/platform-game/Character.angelscript
Expand Up @@ -38,7 +38,7 @@ class Character
return m_touchingGround;
}

void updateMovement(ETHPhysicsController@ physicsController, const float movementSpeed)
private void updateMovement(ETHPhysicsController@ physicsController, const float movementSpeed)
{
// if there's movement, update animation
if (movementSpeed != 0.0f)
Expand All @@ -64,7 +64,7 @@ class Character
}
}

void updateJumpImpulse(ETHPhysicsController@ physicsController, const float jumpImpulse)
private void updateJumpImpulse(ETHPhysicsController@ physicsController, const float jumpImpulse)
{
const vector2 currentVelocity = physicsController.GetLinearVelocity();

Expand All @@ -87,7 +87,7 @@ class Character
}
}

void checkGroundTouch()
private void checkGroundTouch()
{
// if the last time a ground touch had been detected was over a few
// milliseconds ago, we assume it is no longer touching the ground
Expand Down

0 comments on commit 47b4f23

Please sign in to comment.