Refactoring: removing AnimData class use in blender importer to make it independent on the OGRE plugin (this way the usage of the importer will not require the presence of Ogre plugin in the classpath).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10611 75d07b2b-3a1a-0410-a2c5-0572b91ccdca3.0
parent
c1402b30e9
commit
217a1a6273
@ -0,0 +1,29 @@ |
||||
package com.jme3.scene.plugins.blender.animations; |
||||
|
||||
import java.util.List; |
||||
|
||||
import com.jme3.animation.Animation; |
||||
import com.jme3.animation.Skeleton; |
||||
|
||||
/** |
||||
* A simple class that sotres animation data. |
||||
* If skeleton is null then we deal with object animation. |
||||
* |
||||
* @author Marcin Roguski (Kaelthas) |
||||
*/ |
||||
public class AnimationData { |
||||
/** The skeleton. */ |
||||
public final Skeleton skeleton; |
||||
/** The animations list. */ |
||||
public final List<Animation> anims; |
||||
|
||||
public AnimationData(List<Animation> anims) { |
||||
this.anims = anims; |
||||
skeleton = null; |
||||
} |
||||
|
||||
public AnimationData(Skeleton skeleton, List<Animation> anims) { |
||||
this.skeleton = skeleton; |
||||
this.anims = anims; |
||||
} |
||||
} |
Loading…
Reference in new issue