Advertisement
Tobiasz931

JAVADABABOOT hotfix

Nov 25th, 2013
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5. package lab5;
  6.  
  7. import jade.core.behaviours.TickerBehaviour;
  8.  
  9. /**
  10.  *
  11.  * @author student
  12.  */
  13. public class Przesuniecie extends TickerBehaviour {
  14.  
  15.     public Przesuniecie(Pinkie a) {
  16.         super(a, 500);
  17.     }
  18.    
  19.     @Override
  20.     protected void onTick() {
  21.         ((Pinkie)getAgent()).PobierzKontenery();
  22.         ((Pinkie)getAgent()).IdzStad();
  23.     }
  24.    
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement