Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void CollisionCheckerThingy(Bullet b)
- {
- Vector2 temp = Position - b.Position;
- if (temp.LengthSquared() < (PLAYER_RADIUS + b.BULLET_RADIUS) * (PLAYER_RADIUS + b.BULLET_RADIUS))
- {
- UpdatePichuun();
- b.BULLET_ID = -1;
- return;
- }
- else
- {
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement