view pytouhou/game/element.pxd @ 795:2d60a14f4816 default tip

python: Rewrite the main entrypoint in Rust This lets us progressively replace Python modules with Rust ones. Currently missing features include: - Saving replays - Networking code for cooperative mode - Reading a configuration file for options - Maybe more. But the base game is working, so yay!
author Link Mauve <linkmauve@linkmauve.fr>
date Tue, 02 Jun 2026 19:06:16 +0200
parents b9d2db93972f
children
line wrap: on
line source

from pytouhou.game.sprite cimport Sprite

cdef class Element:
    cdef public double x, y
    cdef public bint removed
    cdef public Sprite sprite
    cdef public list objects
    cdef public object anmrunner