Advertisement
jewalky

Untitled

Mar 1st, 2017
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. class CylindricalMastermind : SpiderMastermind replaces SpiderMastermind
  2. {
  3.     override bool CanCollideWith(Actor other, bool passive)
  4.     {
  5.         if (Distance2D(other) > radius+other.radius)
  6.             return false;
  7.         return true;
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement