public interface IAnimationEngine
Modifier and Type | Method and Description |
---|---|
boolean |
canBeInterupt(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot) |
void |
planNextAnimation(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot agent,
String precedingName,
char actor) |
String |
playAnimation(int movementSpeed,
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
boolean loop,
int direction) |
void |
playAnimation(String animationID,
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot,
boolean loop)
force to play animation described in @param animationID
|
boolean canBeInterupt(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot)
String playAnimation(int movementSpeed, cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot, boolean loop, int direction)
movementSpeed
- each type of movement has its own speed
0 is for stand
1 is for slow move
2 is for walk
3 is for runvoid playAnimation(String animationID, cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot bot, boolean loop)
void planNextAnimation(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004Bot agent, String precedingName, char actor)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.