daily pastebin goal
81%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void enemyPush(Pirate pirate)
  2.         {
  3.            foreach(Pirate enemy in GetEnemyLivingPirates())
  4.                  if (pirate.CanPush(enemy))
  5.                  {
  6.                     pirate.Push(enemy, My_home);
  7.                   }
  8.         }
  9.        
  10.         public void friendlyPush(Pirate me,Pirate friend){
  11.             if(me.CanPush(friend)){
  12.                 me.push(friend,My_home);
  13.             }
  14.            
  15.            
  16.         }
RAW Paste Data
Top