Renderer/src/main/java/electrosphere/game/data/common/TreeDataState.java
austin ceb4786228
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Data cleanup
2024-07-28 13:35:34 -04:00

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;
}
}