getAnimationCount method
Implementation
@override
Future<int> getAnimationCount(ThermionEntity entity) async {
final animationCount = _module.ccall(
"get_animation_count",
"int",
["void*".toJS, "int".toJS].toJS,
[_sceneManager!, entity.toJS].toJS,
null) as JSNumber;
return animationCount.toDartInt;
}