Quick API Index

Sprite Module

Classes

  • Sprite
    • __init__(,
    • append_texture(texture
    • set_texture(texture_no
    • get_texture() -> int
    • set_position(center_x
    • set_points(points
    • get_points() -> List[List[float]]
    • draw()
    • update()
    • update_animation()
    • kill()
  • SpriteList
    • __init__()
    • append(item
    • remove(item
    • update()
    • update_animation()
    • draw(fast
    • pop() -> Sprite
  • AnimatedTimeSprite
    • __init__(scale
    • update_animation()
  • AnimatedWalkingSprite
    • __init__(scale
    • update_animation()

Physics Engines Module

Classes

Application Module

Classes

  • Window
    • __init__(width
    • animate(delta_time
    • set_update_rate(rate
    • on_mouse_motion(x
    • on_mouse_press(x
    • on_mouse_drag(x
    • on_mouse_release(x
    • on_key_press(symbol
    • on_key_release(symbol
    • on_draw()
    • set_min_size(width
    • set_max_size(width
    • set_size(width
    • get_location() -> Tuple[int, int]