olls / graphics

A console based graphics engine for simple Unicode games and animations.
GNU General Public License v3.0
11 stars 4 forks source link

Sprite touching() #19

Closed olls closed 10 years ago

olls commented 10 years ago

The Sprite.touching method should allow to be passed a list of sides, so you can check multiple sides at once. It can also be rewritten to be much shorter.