org.robokind.api.animation.library
Class DefaultAnimationLibrary

java.lang.Object
  extended by org.robokind.api.animation.library.DefaultAnimationLibrary
All Implemented Interfaces:
AnimationLibrary

public class DefaultAnimationLibrary
extends Object
implements AnimationLibrary

Author:
Matthew Stevenson

Field Summary
 
Fields inherited from interface org.robokind.api.animation.library.AnimationLibrary
PROP_ANIM_PLAYER_ID
 
Constructor Summary
DefaultAnimationLibrary(String libId)
           
 
Method Summary
 void add(Animation animation)
           
 void clear()
           
 Animation getAnimation(org.robokind.api.common.config.VersionProperty version)
           
 String getAnimationLibraryId()
           
 List<org.robokind.api.common.config.VersionProperty> getAnimationVersions()
           
 void remove(Animation animation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnimationLibrary

public DefaultAnimationLibrary(String libId)
Method Detail

getAnimationVersions

public List<org.robokind.api.common.config.VersionProperty> getAnimationVersions()
Specified by:
getAnimationVersions in interface AnimationLibrary

getAnimation

public Animation getAnimation(org.robokind.api.common.config.VersionProperty version)
Specified by:
getAnimation in interface AnimationLibrary

add

public void add(Animation animation)
Specified by:
add in interface AnimationLibrary

remove

public void remove(Animation animation)
Specified by:
remove in interface AnimationLibrary

getAnimationLibraryId

public String getAnimationLibraryId()
Specified by:
getAnimationLibraryId in interface AnimationLibrary

clear

public void clear()
Specified by:
clear in interface AnimationLibrary


Copyright © 2011-2013. All Rights Reserved.