Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch (cardinalDirection)
- {
- case 0:
- {
- int num = this.invincibleFromDirection;
- switch (num)
- {
- case 5:
- case 8:
- case 10:
- break;
- default:
- if (num != 1)
- {
- return false;
- }
- break;
- }
- return true;
- }
- case 1:
- switch (this.invincibleFromDirection)
- {
- case 2:
- case 5:
- case 6:
- case 7:
- case 8:
- case 9:
- return true;
- }
- return false;
- case 2:
- {
- int num2 = this.invincibleFromDirection;
- switch (num2)
- {
- case 3:
- case 6:
- break;
- default:
- switch (num2)
- {
- case 9:
- case 11:
- return true;
- }
- return false;
- }
- return true;
- }
- case 3:
- switch (this.invincibleFromDirection)
- {
- case 4:
- case 7:
- case 8:
- case 9:
- case 10:
- case 11:
- return true;
- }
- return false;
- default:
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment