foundry.core.player_animations package#
Submodules#
foundry.core.player_animations.PlayerAnimation module#
foundry.core.player_animations.PlayerAnimationData module#
- class PlayerAnimationData(animation: PlayerAnimation, graphics_set: GraphicsSet, palette_group: PaletteGroup, palette_index: int, is_kicking: bool = False)#
Bases:
object
- animation: PlayerAnimation#
- graphics_set: GraphicsSet#
- palette_group: PaletteGroup#
foundry.core.player_animations.util module#
- load_animations(frame_data: bytes, offset_data: bytes) list[foundry.core.player_animations.PlayerAnimation.PlayerAnimation] #
- load_animations_graphic_set(animation: PlayerAnimation, power_up: int, offsets: list[int]) GraphicsSet #
- load_player_animation(animation: PlayerAnimation, palette_group: PaletteGroup, is_mario: bool, power_up: int, offsets: list[int], is_kicking: bool = False)#
- load_player_animation_data(animations: list[foundry.core.player_animations.PlayerAnimation.PlayerAnimation], palette_group: PaletteGroup, is_mario: bool, power_up: int, offsets: list[int]) list[foundry.core.player_animations.PlayerAnimationData.PlayerAnimationData] #
- load_player_animations() list[foundry.core.player_animations.PlayerAnimation.PlayerAnimation] #
- load_power_up_palettes() PaletteGroup #
Module contents#
A series of constants useful for acquiring the player’s animations.