예제 #1
0
void CyclopsEntity::collideMapBottom()
{
  velocity.y = -velocity.y;

  afterWallCollide();
}
예제 #2
0
void KingRatEntity::collideMapBottom()
{
  velocity.y = -velocity.y;

  afterWallCollide();
}
예제 #3
0
void CyclopsEntity::collideMapLeft()
{
  velocity.x = -velocity.x;

  afterWallCollide();
}
예제 #4
0
void KingRatEntity::collideMapLeft()
{
  velocity.x = -velocity.x;

  afterWallCollide();
}