Deep-Phield-Softworks / XeroSum

Isometric, Squad-Based, Real-Time Strategy RPG
0 stars 0 forks source link

Rewrite Sorted Render #30

Closed EricFedrowisch closed 10 years ago

EricFedrowisch commented 10 years ago

Rewrite Sorted Render to put all elements with self.layer <= 1.0 into a list of rects. Then check those pygame rects for collisions, and change the element order if needed.