private void HandleMailboxMailCollision(Mail mail, Mailbox mailbox) { score++; levelExp += EXP_TO_LEVEL_UP / (2 * level); if (levelExp >= EXP_TO_LEVEL_UP) { levelExp = 0; level++; } if (mail.Position.X > playerPos.X) { canThrowRight = true; } else { canThrowLeft = true; } if (mailbox.Position.X > playerPos.X) { mailbox.CloseMailbox(rightMailboxClosed); } else { mailbox.CloseMailbox(leftMailboxClosed); } }