/**
* Gets the dimensions of the currently used image
* @return The dimensions of the currently used image
*/
public Dimensions getCurrentImageDimensions() {
return new Dimensions(
sprites.getImage(animationIndex, frameIndex).getWidth(null),
sprites.getImage(animationIndex, frameIndex).getHeight(null));
}