Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package lab5;
- import jade.core.behaviours.TickerBehaviour;
- /**
- *
- * @author student
- */
- public class Przesuniecie extends TickerBehaviour {
- public Przesuniecie(Pinkie a) {
- super(a, 500);
- }
- @Override
- protected void onTick() {
- ((Pinkie)getAgent()).PobierzKontenery();
- ((Pinkie)getAgent()).IdzStad();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement