View Javadoc

1   package SocialSteeringsBeta;
2   
3   import cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot;
4   
5   /**
6    *
7    * @author Petr
8    */
9   public interface IAnimationEngine {
10      boolean canBeInterupt(UT2004Bot bot);
11      /**
12       @param movementSpeed each type of movement has its own speed
13       * 0 is for stand
14       * 1 is for slow move
15       * 2 is for walk
16       * 3 is for run
17       @return name of choosen animation
18       */
19      String playAnimation(int movementSpeed, UT2004Bot bot, boolean loop, int direction);
20      
21      /**
22       force to play animation described in @param animationID
23       */
24      void playAnimation(String animationID, UT2004Bot bot, boolean loop);
25      void planNextAnimation(UT2004Bot agent, String precedingName, char actor);
26  }