Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
48 lines
1.1 KiB
Java
48 lines
1.1 KiB
Java
package electrosphere.game.data.common;
|
|
|
|
/**
|
|
* A simple tree state
|
|
*/
|
|
public class TreeDataState {
|
|
|
|
/**
|
|
* The animation to play for the tree's state when in first person
|
|
*/
|
|
TreeDataAnimation firstPersonAnimation;
|
|
|
|
/**
|
|
* The animation to play for the tree's state when in third person
|
|
*/
|
|
TreeDataAnimation thirdPersonAnimation;
|
|
|
|
/**
|
|
* The audio to play when running this state of the tree
|
|
*/
|
|
TreeDataAudio audioData;
|
|
|
|
/**
|
|
* Gets the first person animation data
|
|
* @return The first person animation data if it exists, null otherwise
|
|
*/
|
|
public TreeDataAnimation getFirstPersonAnimation(){
|
|
return firstPersonAnimation;
|
|
}
|
|
|
|
/**
|
|
* Gets the third person animation data
|
|
* @return The third person animation data if it exists, null otherwise
|
|
*/
|
|
public TreeDataAnimation getThirdPersonAnimation(){
|
|
return thirdPersonAnimation;
|
|
}
|
|
|
|
/**
|
|
* Gets the audio data
|
|
* @return The audio data if it exists, null otherwise
|
|
*/
|
|
public TreeDataAudio getAudioData(){
|
|
return audioData;
|
|
}
|
|
|
|
}
|